Next.js Discord

Discord Forum

Module build failed: UnhandledSchemeError: Reading from "node:crypto" is not handled by plugins

Unanswered
THE MASTER posted this in #help-forum
Open in Discord
i am using Next js latest version along with drizzle and supabase. everything else works fine. i am able to use auth and everything.
I am unable to use my drizzle db instance in my code
the code gives me an error :

`Module build failed: UnhandledSchemeError: Reading from "node:crypto" is not handled by plugins`. Webpack supports "data:" and "file:" URIs by default. You may need an additional plugin to handle "node:" URIs.

0 Replies