New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting 500 Error when Building The App with Nuxt version >=v3.10.0 #26693
Comments
Try upgrading your vue version. -> https://stackblitz.com/edit/github-uwezfu?file=package.json |
Thank you so much @warflash 🚀 |
Sorry that I necro this issue, but I have the exact same problem
with
Besides that, I can find the .output/server/node_modules/vue-router/node_modules/vue/server-renderer not under .output/server/node_modules/vue/node_modules/vue/server-renderer |
Try to remove the |
Thank you @medaminefh. I did, multiple times. Did not help. |
@diffetruction could you create a minimal reproduction |
@medaminefh I am working on a minimal reproduction (https://stackblitz.com/edit/github-h71f88), but since I got pretty far into it (installing all dependencies, adding the nuxt config, including some fake building blocks) and I can't reproduce the issue just yet, it seems that there must be something wrong with our projects logic, and not with the setup itself. It is strange, though, that the error hints at a fundamental issue with how the build is produced (at least, as I am able to comprehend it) I guess, I can only go through the project piece by piece and switch stuff off and on until it changes something. Or do you have another educated guess to offer, maybe? Appreciate your time and effort <3 |
@diffetruction Honestly I faced that issue before and that was due to upgrading some deps versions, maybe if you look closer at the recently upgraded dependencies it might depend on other dependencies. [EDIT]: from the package.json file you created I can see that you're using |
@medaminefh thank you again for taking the time! Regarding pinia, the docs say otherwise https://pinia.vuejs.org/ssr/nuxt.html
But your hint to dependency version might be on spot, since I did update some packages a short while ago and (I know, I know) didn't test the build immediatly afterwards... |
@diffetruction I installed |
@medaminefh That is indeed strange. It seems to work either way. Anyways, I had to wipe the project and clone it anew from origin, that solved my issue. I am a bit confused since I always rm -rf everything I thought could have been related, like Thank you again @medaminefh for taking the time, I deeply appreciate it. Case closed. |
PS: It's working on development!
Environment
Reproduction
https://github.com/medaminefh/E-commerce_nuxt_ts
Describe the bug
The error when I upgraded Nuxt & NuxtUi to the latest versions, the deployed app is crashed
Additional context
No response
Logs
I built it and run it locally with
nuxt build && nuxt start
No response
The text was updated successfully, but these errors were encountered: