Unable to deploy Next.js 14.2

Hello everyone, does anyone face this problem. Just setup new Next.js project and run on Cloudflare pages with next-on-pages. Get this error: ▲ Error: The file "/opt/buildhome/repo/.next/routes-manifest.json" couldn't be found. This is often caused by a misconfiguration in your project. ▲ Learn More: https://err.sh/vercel/vercel/now-next-routes-manifest I already add "nodejs_compat" and NODE_VERSION in Settings Anyone help me please. I configured all according to documents. Old projects still work.
No description
5 Replies
Hữu Phong
Hữu Phong5mo ago
Production branch: main Build command: npx @cloudflare/next-on-pages@1 Build directory: .vercel/output/static
thanhle
thanhle5mo ago
do you try with 14.1 seem like 14.2 has a lot of issues. i am still working with 14.1 and it works great. sometime we dont need the newest version of next to be successful
Hữu Phong
Hữu Phong5mo ago
Yes. I tried the new clean Next.js Project 14.1.0 and it's still getting the same error. I really don't know why cause my other projects are still using 14.1.0 and working well with the same configuration in Settings. Rechecked the documents and try to switch to the old version of everything in Cloudflare Pages Setting but not working. haha. Maybe I need more coffee.
No description
thanhle
thanhle5mo ago
i bet the issue is bun. i used npm.
Hữu Phong
Hữu Phong5mo ago
Bingo. Removed bun and everything works. :NotLikeThis: Thank you somuch...
Want results from more Discord servers?
Add your server