Next.js Discord

Discord Forum

error node:util

Unanswered
Cape lion posted this in #help-forum
Open in Discord
Cape lionOP
Hi! I have my custom hook that uses nbtify lib to read nbt files. When i run dev my next app i have a compile error:
node:util
Module build failed: UnhandledSchemeError: Reading from "node:util" 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.
How can I fix it?
- error node:util
Module build failed: UnhandledSchemeError: Reading from "node:util" 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.
Import trace for requested module:
node:util
./node_modules/nbtify/dist/compression.js
./node_modules/nbtify/dist/index.js

0 Replies