Hello,
On the site with URL: “https://staging-merithalle-indicateurs.netlify.app”.
While the building is complete and successful, the site displays a 500 error on every page.
The function logs only display this:
Nov 5, 07:14:24 PM: 57f03301 ERROR [nuxt] [request error] [unhandled] [500] internal server error
I tried with netlify-cli on local netlify dev
and the site works on http://localhost:8888
So I cannot digg further to provide a fix and I suspect an issue on Netlify’s side.
Any idea of what’s happening?
Hello,
I reply to my own post to add some extra info.
I tried updating all my dependencies, going to Nuxt 3.14.0. Same 500 error issue.
However I’ve got something new in the function log:
I have this two errors each time I refresh the site :
Nov 6, 11:19:15 AM: 4c0abf34 ERROR [nuxt] [request error] [unhandled] [500] Cannot find module ‘@vue/compiler-dom’
Require stack:
And :
Nov 6, 11:19:15 AM: 4c0abf34 ERROR [nuxt] [request error] [unhandled] [500] Invalid lazy handler result. It should be a function:
I have no clue how to fix that. The messages are confusing and for me not clear enough and everything works fine locally. It’s very hard to debug.
Well, after many tries and errors and retries, it happened to be an issue with the package.json / package-lock.json.
I really don’t know what kind of incompatibility occurred or what, but rolling back to a previous working revision’s package.json file did the trick…
1 Like