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.
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
Create an Next.js application and deploy it to Cloudflare Workers with Workers Assets.
