-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Version 0.4.1 prevents Vercel to build the project #1157
Comments
I’m also experiencing this issue after updating
Reverting back to version 0.4.0 fixed the problem, so it seems to be related to the changes in 0.4.1. Here’s my repository for reference: GitHub Repo. |
Thank you all. I will check and get back on this issue soon. |
Hi @mbramani Could you show me the full error logs on Vercel? Thanks. |
Hello @jellydn, What information would be useful to debug this ? |
Ok, let me deploy the examples app to Vercel and test. Thanks. |
I could reproduce the issue with examples/next14-app on Vercel as well. https://paste.ofcode.org/cDsjZqxbj2rPT8RFvPGNM6 I'm not sure what is the issue in this case. There is a similar issue here https://github.com/orgs/vercel/discussions/6575 |
I found that "tar" produces the problem https://vercel.community/t/calling-tar-x-causeserror-enoent-no-such-file-or-directory-lstat-next-export-detail-json/2007 |
After upgrading to next 15 I experienced the above problem also w/ next-swagger-doc v4.0. Before the above error there was also some gyp warnings from building tree-sitter (required by next-swagger-doc), even if the tree-sitter build completed sucessfully (https://pastebin.com/6TYpZ7w7). I was not able to build the next app on vercel before removing the next-swagger-doc module from the project. |
I'm using next 14.2.15, downgrading next-swagger-doc to 0.4.0 fixed the issue for me. |
Describe the bug
When the library updated from 0.4.0 to 0.4.1, Vercel builds throws an error as below. Local builds complete without any issue.
Next.js version 14.2.16
Error: ENOENT: no such file or directory, lstat '/vercel/path0/.next/export-detail.json'
Reproduction
Update the library to 0.4.1 and push to Vercel for build
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: