嗨,我目前正在学习反应 第 10 章之后 ( https://nextjs.org/learn/dashboard-app/partial-prerendering )
我遇到了问题:“错误:ENOENT:没有这样的文件或目录,打开'/vercel/path0/.next/server/app/index.rsc'”当我将其推送到github存储库时(https://github) .com/cuonglamphu/nextjs-practice)
在我尝试添加 2 条评论并推送之后
部署失败
您可以通过删除实验性部分预渲染或运行
pnpm i react@canary
以使用 next 的金丝雀版本来解决此问题