My Code:
"use client"
import vine from "@vinejs/vine"; //cause problem
export default function Test() {
return <></>
}
Error:
Failed to compile
node:dns/promises
Module build failed: UnhandledSchemeError: Reading from "node:dns/promises" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
It seems like the module require some server function? any ideas?