Next.js Discord

Discord Forum

Error "Left side of assignment is not a reference." in production.

Unanswered
Yellow-footed Gull posted this in #help-forum
Open in Discord
Avatar
Yellow-footed GullOP
I've recently updated node to v18.16.1 and have also updated NextJS from 11.0.1 to 13.4.8. Since then, I get the following error when running my app in production but not in dev. Any idea what could be causing this?
Image

4 Replies

Avatar
The ORM Joker
Show the error
Avatar
Yellow-footed GullOP
Here is the error (in console, and in Sentry)
Image
Image
Avatar
The ORM Joker
well this is the code in production site which means it is minified, there's no way to track down the exact line number of it
Avatar
Yellow-footed GullOP
This is the breakdown of the exact line number I get in Sentry. Is that of any help?
Image