This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Invalid left-hand side in assignment #29582
Labels
bug
Issue was opened via the bug report template.
What version of Next.js are you using?
11.1.2
What version of Node.js are you using?
12.22.1
What browser are you using?
Chrome
What operating system are you using?
MacOS
How are you deploying your application?
Other platform
Describe the Bug
When packaging up my application for serverless deployment the following code:
https://github.com/vercel/next.js/blob/canary/packages/next/server/next-server.ts#L295
gets packaged up to:
true = JSON.stringify(true);
which results in the following exception at runtime:
Expected Behavior
No exception
To Reproduce
I am deploying my app using:
https://github.com/serverless-nextjs/serverless-next.js
A simple API route that returns 200 OK results in this error.
The text was updated successfully, but these errors were encountered: