-
Notifications
You must be signed in to change notification settings - Fork 76
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
FATAL No build files found in /var/task/.nuxt/dist/server. #765
Comments
(This builder is only for Nuxt 2.) Would you provide a reproduction? |
OK great, in that case I literally deployed this same application and it is working again in 0.23.0. It's a big application so I haven't been able to isolate the issue yet unfortunately. Hmm.. it's a private repo. I'll have to try and work out a repro, might take me a while but this was the build that failed logs
And a successful build with the previous version:
I did move 2 dependencies to buildModules as they were dev dependencies and started triggering an error. Apart from that, nothing else changed. I understand this is not the most helpful issue to raise. I'm sorry for that and realistically with the amount of info I can provide at the moment, I doubt it's fixable. Perhaps with this issue here if anyone else has the same issue they may be able to produce a reproduction or we could converse on what our commonalities are. it does seem odd that serverless functions are reported as built but then no build files are found where they are expected when trying to run the application. Due to a heavy workload and working pretty full-on with a new large Nuxt 3 module, it's hard to find the time to work on this legacy project. Sorry for that. Appreciate your reply. |
Had exact the same issue since 0.24.0 without any change in the application. Moved back to 0.23.0 and it worked again.
|
It works for me too |
* Update conflicting dependencies * Downgrade webpack to 4.x * Downgrade vercel-builder nuxt/vercel-builder#765 (comment) * Fix lint * Fix lint
Deploying a previously built Nuxt 2 app again results in
Is there a config option that means we are building for Nuxt 2?
It's an assumption that it's Nuxt 3 release related...
Edit:
I should add that before I did not need to specify some modules as buildModules, but after re-deploying with no changes I needed to move a couple of modules in my Nuxt config. There have been no changes to my Nuxt 2 app before it re-deployed, it was just an automated process when I was deploying a separate API and it worked 27 days ago.
Edit 2:
Works fine by specifying 0.23.0 as the builder version. If Nuxt 2 will no longer be supported I guess it'd be nice to add to readme.
The text was updated successfully, but these errors were encountered: