I have my portfolio site build with NextJS App directory deployed on Netlify. The page for a specific blog post gets to 500 Internal server error on reloading the page. However it works locally and on running with npx netlify-cli serve
May be I was looking in the wrong place then, sorry.
I see the solution to this problem as listed in the thread is to set __NEXT_PRIVATE_PREBUNDLED_REACT= next. I have done this in my site, however now the build fails with Invalid AWS Lambda parameters used in this request. Can you help me out with this?
Please check out the entire thread, we’ve said this is not the solution and the actual solution is being worked upon. If we have to repeat the entire discussion here, it’s just creating a duplicate, which won’t help anyone
If you’re desperate to solve this now, you can check out the workaround shared by another user:
If it’s not urgent, you can wait till we get to a long-term solution.
You can probably also downgrade Next.js to 13.2 I believe.