Github Repository
https://github.com/andyfensham/NuxtTest214
Template App created using yarn create nuxt-app and npx fails to run in production
Please see all steps to reproduce.
The demo site created is : https://scadfirebase214.web.app/
Site worked in Dev but does not work once uploaded
You can not navigate and the following error appears in the console.
I have managed to isolate the package causing the issue. It is the "nuxt": "2.14.1", package. Updating to 2.14.0 resolves the issue. Not sure what the bug is though.
Thanks, I also got this problem yesterday after updating to 2.14.1, but only on surge.sh so I just filed an issue there. Good to know that it is not unique to surge.sh.
It works on all other servers I tried (netlify.com, commons.host and a couple of local servers).
Duude this bug almost drove me crazy , i've been trying to fight it for the past 3 days , opened a TICKET then closed it because i thought it was coming from me ... i fixed it by copying old nuxt project node_modules folder in the new one but that was a temporary fix ..
i can confirm that setting the version of nuxt to "nuxt": "2.14.0" does fix it
I suspect this might be related:
https://github.com/nuxt/nuxt.js/issues/7901
I suspect this might be related:
7901
that's exactly it !
Thanks for your contribution to Nuxt.js!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you would like this issue to remain open:
Issues that are labeled as pending
will not be automatically marked as stale.
Most helpful comment
I have managed to isolate the package causing the issue. It is the "nuxt": "2.14.1", package. Updating to 2.14.0 resolves the issue. Not sure what the bug is though.