Hi there!
I’ve been building my portfolio website on top of Nuxt for about a year or so and didn’t have much issue with deployments.
Just last week I made some tiny update to my repo and tried to deploy, and noticed no matter what I do, I keep getting a 500 error after the site is deployed.
There are no error logs anywhere, both locally or in Netlify deployment process.
I tried reverting back all my changes manually and even so the 500 error would still happen.
I also tried the netlify dev command and didn’t have see any errors. The site just works fine locally.
I also tried doing a npm run build and no issue were noticed.
The only way to fix it is to publish the last working deployment from the history (which is what I’m doing right now so I can avoid my site being down).
Hey, Yeah like I said earlier, I’ve published an old deployment (that works) so my website wouldn’t be down. If you want I can click the Deploy button right now and I’ll get a 500 error immediately. Do you need that to happen in order to investigate the problem? I thought you guys could see the problem on your side without actually bothering with my production site
Thank you very much! I looked into it and apparently adding the vue-router to my dependencies list would solve the problem. Kinda weird cause I don’t directly use vue-router, but I guess something from Nuxt uses it under the hood.