getting error 'entry-point file at ".open-next/worker.js" was not found'

the build completes but i get this error message: 15:07:32.829 ├ chunks/261-03835c90a01407b6.js 45.8 kB 15:07:32.830 ├ chunks/a82cbd8b-5c8611866623da35.js 53.2 kB 15:07:32.830 └ other shared chunks (total) 1.92 kB 15:07:32.831
15:07:32.831
15:07:32.831 ƒ Middleware 109 kB 15:07:32.831
15:07:32.831 ƒ (Dynamic) server-rendered on demand 15:07:32.831
15:07:32.909 Success: Build command completed 15:07:32.910 Executing user deploy command: npx wrangler versions upload 15:07:35.022
15:07:35.022 ⛅️ wrangler 4.14.1 15:07:35.022 ------------------- 15:07:35.022
15:07:35.029
15:07:35.088 ✘ [ERROR] The entry-point file at ".open-next/worker.js" was not found. 15:07:35.088
15:07:35.088
15:07:35.110 🪵 Logs were written to "/opt/buildhome/.config/.wrangler/logs/wrangler-2025-05-05_22-07-34_370.log" 15:07:35.213 Failed: error occurred while running deploy command
3 Replies
fulcrum
fulcrumOP7mo ago
we are already doing this. here is a loom video with all the details https://www.loom.com/share/0d3e3bfeba9148abb9642aec63ae5619?sid=30d73c02-10cf-4fc4-b741-491e0b1cb178
Loom
cloudflare nextjs issue
In this video, I walk you through the process of migrating our existing Next.js product from Vercel to Cloudflare. I detail the changes we made, including updates to the Wrangler configuration and package dependencies. I also demonstrate that everything works as expected in the local environment. Please take a look and let me know if you have an...
James
James7mo ago
Looks like you have a monorepo - is your output directory for the correct app?

Did you find this page helpful?