Next.js Discord

Discord Forum

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

Unanswered
Fire ant posted this in #help-forum
Open in Discord
Fire antOP
Hey, i have this error when i m trying to get an process.env.NEXT_PUBLIC... variable, i have this error only on client side not on server side, any idea ? Thanks.

1 Reply

Fire antOP
Hey i have this problem when i m trying to access a process.env.NEXT_PUBLIC variable, this error only occurs on client component not on server component, any idea ? Thx