Netlify builds require explicit vue and vue-router dependency? #30187
AloisSeckar
started this conversation in
General
Replies: 1 comment
-
EDIT: I have find out that this issue relates only to certain Nuxt setups. This project deploys just fine even without explicit vue/vue-router deps This would lead me suspicious there is something wrong in my Nuxt Ignis layer. But no idea what it might be 😢 Or it is a certain module from the ecosystem? But which one 🤔 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since some recent time I am observing my Nuxt builds break after deployment to Netlify. They work fine locally, they compile with no issues in Netlify environment, but there are runtime errors 500 with weird error messages like "createApp is not a function" and so. Meanwhile, the same setup deployed on Vercel with no issues.
I have digged into some issues and discussions to discover that if I add:
into
package.json
, the problem is gone and everything works again on Netlify.But I don't like the "cover-up" solution.
Also I have just confirmed, that having those two dependencies in a layer I am extending from is not enough. The build is broken again and I am forced to re-declare those two deps in
package.json
of the extending project.Anyone has any idea what is going on? And could this eventually be fixed on Nuxt (or Nitro or whatever unjs project) side?
Example:
Beta Was this translation helpful? Give feedback.
All reactions