-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Chapter 11: Error: ENOENT: no such file or directory, open '/vercel/path0/.next/server/app/index.rsc' #770
Comments
I have the same error, and it works after I delete the experimental ppr. |
I had the same issue too and thanks to this tip from @wuyou91 I succeeded to deploy the project on vercel.🚀 So basically, in the mean time, the solution is to remove the changes related to "Partial Prerendering" demonstrated in chapter 10.🤔 cheers🤗 |
https://nextjs.org/docs/app/api-reference/next-config-js/partial-prerendering
After doing : |
error resolved by removing ppr from chapter 10. Thanks guys! |
Thanks, it works after removing "Partial Prerendering", which makes sense as they told it's an experimental thing for now, but I think it should have been mentioned in the chapter as well that this error might occur. |
After I finished chapter 11, there was a deployment failure in Vercel, it said:
Traced Next.js server files in: 34.808ms
Created all serverless functions in: 1.137s
Collected static files (public/, static/, .next/static): 5.466ms
Error: ENOENT: no such file or directory, open '/vercel/path0/.next/server/app/index.rsc'
The text was updated successfully, but these errors were encountered: