You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My project is running normally in the local development environment; But after production build and deployment, the page throws an error at runtime
I suspect this may be related to the loading of certain modules, class inheritance chains, or the execution order of packaged code, but the specific reason is unknown.
What have I tried
I have tried disabling code splitting and runtime chunks, as well as forcing class and function names to be preserved, and disabling Tree Shaking, but none of them worked
package.json
The text was updated successfully, but these errors were encountered:
@guoxianzhe Thank you for your answer, but I have not used NextJS in my project. I have also seen this issue and have used 13.5.7, 14.1.3, or 15.1.4, but the problem has not been resolved
What kind of problem do you need help?
My Question
My project is running normally in the local development environment; But after production build and deployment, the page throws an error at runtime
I suspect this may be related to the loading of certain modules, class inheritance chains, or the execution order of packaged code, but the specific reason is unknown.
What have I tried
I have tried disabling code splitting and runtime chunks, as well as forcing class and function names to be preserved, and disabling Tree Shaking, but none of them worked
package.json
The text was updated successfully, but these errors were encountered: