© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Worker deploying NextJS fails build due to "Handler does not export a fetch() function." - Cloudflare Developers
CD
Cloudflare Developers
•
6mo ago
•
12 replies
lucas
Worker deploying NextJS fails build due to "Handler does not export a fetch() function."
Hey
, basically title
.
I
'm following the steps on
https://developers.cloudflare.com/workers/framework-guides/web-apps/nextjs/#deploy-an-existing-nextjs-project-on-workers
but I cant
' get it working no matter what
. I
'm pretty new to both Cloudlare and the JS world so I
'm not entirely sure on what to do here
.
Cloudflare Docs
Next.js
Create an Next
.js application and deploy it to Cloudflare Workers with Workers Assets
.
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
86,942
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
ErrorNo fetch handler!
CD
Cloudflare Developers / general-help
2y ago
NextJS worker cannot call another worker
CD
Cloudflare Developers / general-help
15mo ago
Call Azure function from a Worker
CD
Cloudflare Developers / general-help
3y ago
Error while deploying it to the worker
CD
Cloudflare Developers / general-help
13mo ago