This repository was archived by the owner on Dec 20, 2024. It is now read-only.
Enable code generation from strings in my Next.js app (production mode) #6632
Replies: 2 comments
-
|
My project has an error same. My production is working well. But the next day, I visit my production and I receive response error 500. I check my log and see the error: Code generation from strings disallowed for this context, and I think middleware make this error. I deploy my production on IIS of window server use iisnode. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This discussion was automatically locked because the community moved to a new site. Please join us at vercel.community |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I am doing a project where I want to generate dynamic UI from the backend. In the current setup I want to send the UI code from my Python backend and the function should run the code in my Next.js app.
Here is the data which I am sending from my python backend:
and in my Next.js app I want to run the action code as follows:
The main issue is it is running fine in my development mode but in production mode it is showing this error:
Please help me find a way to run this in production mode.
Example
No response
Steps to Reproduce
Beta Was this translation helpful? Give feedback.
All reactions