Open meiyizheng opened 4 months ago
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
Partial Prerendering is available in next@canary
After doing :
npm install next@canary
it works without deleting experimental ppr entry.
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.
facing same issue
Still facing the issue.
Regarding the suggested workarounds:
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'