Webpack UnhandledSchemeError: Unable to import node:crypto in Next14.0.4
Unanswered
Northeast Congo Lion posted this in #help-forum
Northeast Congo LionOP
Hello community
I encountered an issue from one of my local package when imported in my next 14.0.4 app
Seems that webpack treat it like a URL schema.
Reading different post on GitHub that says Webpack team fix the issue ...
Any workaround/tips to tame this issue, thank !
I encountered an issue from one of my local package when imported in my next 14.0.4 app
node:crypto
Module build failed: UnhandledSchemeError: Reading from "node:crypto" 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.Seems that webpack treat it like a URL schema.
Reading different post on GitHub that says Webpack team fix the issue ...
Any workaround/tips to tame this issue, thank !
1 Reply
same problem. stuckkk!!! did u find a soln buddy?