-
Notifications
You must be signed in to change notification settings - Fork 27.6k
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
output: 'standalone'
error: ENOENT: no such file or directory, lstat .next/server/app
#44120
Comments
Can you make a minimal reproduction? It's not like you have to link to your actual repo as using actual repos makes it hard to find the issue anyway. This doesn't seem to be happening to me... |
I have the same issue |
Temporary hotfix
It creates an app folder. The issue that builds does not create a folder It is not a solid solution. Just a temporary workaround for everyone stuck |
How about removing |
Hi, Same issue occurring here and it only breaks when the |
any solutions ? |
it's happening on I'm not using
|
Any solutions for this? UPDATE:
|
…re is no `app/` page (#51993) ### What? This PR fixes build crashing when `output: 'standalone'` and `experimental.appDir` is enabled but there is no app pages. ### How? It does that by checking whether `.next/server/app` exists before copying the folder to `.next/standalone/...` Closes #51828 Fixes #44442 Fixes #44120
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Verify canary release
Provide environment information
"next": "13.0.6",
Which area(s) of Next.js are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue
private repo
To Reproduce
Buildind a
output: 'standalone'
application bumps into the following build error:Describe the Bug
Building a
output: 'standalone'
application bumps into the following build error:Expected Behavior
No build error
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
The text was updated successfully, but these errors were encountered: