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](https://cdn.answeroverflow.com/1230755263951278080/Screenshot_2024-04-19_at_12.40.41.png)
5 Replies
Production branch: main
Build command: npx @cloudflare/next-on-pages@1
Build directory: .vercel/output/static
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
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](https://cdn.answeroverflow.com/1230765091977297951/Screenshot_2024-04-19_at_13.18.28.png)
i bet the issue is bun. i used npm.
Bingo. Removed bun and everything works. :NotLikeThis:
Thank you somuch...