Error 500 with Next.js 16 beta and type: "module"
#84822
Unanswered
marcofugaro
asked this question in
Help
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I upgraded my project to Next.js 16 beta, to use turbopack. When building it works fine, but when deploying it to Vercel, it fails with a 500 error. This is the error:
Additional information
I am guessing the new Next.js/Vercel runtime doesn't play nice with
type="module"
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions