Panic Internal Error when Build
So this error happen when i use vidstack/react library with nextjs15, i want to deploy nextjs to worker with opennext
The error only show panic: Internal error (while parsing
".open-next/server-functions/default/handler.mjs")
It is not possible to find the cause of this?

1 Reply
Hi 👋
Looks like this is an internal error coming from esbuild, the bundler that wrangler uses internally.
If you can share the file that's causing the error, I can take a look and see if it's caused by the old version of esbuild that wrangler is still stuck on, and your code containing some new syntax (like decorators, for example); or something else