Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
13 replies
Diogo

Attempted to access server-side environment variable 'NODE_ENV' on the client Error

Hi, i am trying to call a trpc user mutation that will update the user settings ( name, email and avatar), whenever i call the mutation it returns the error on the title, i don't know why, if i use an alternative method ( via nextjs request ) , it works perfectly. Here's my code:
image.png
image.png
Was this page helpful?