Deployment on cloudflare through the pages

What is the name of the domain?

courses.iide.co

What is the error message?

Error: Failed to publish your Function. Got error: Uncaught ReferenceError: global is not defined at bundledWorker-0.2037442135603218.mjs:779:1

What is the issue you’re encountering

I am currently deploying my Next.js project on Cloudflare Pages and have successfully built and tested the project code locally. After pushing the code to Cloudflare, I am encountering the following error while attempting to deploy the code to Cloudflare’s global network:

What are the steps to reproduce the issue?

issue is still there on cloudflare pages

Screenshot of the error

There is an update to the next-on-pages module to address this.

This topic was automatically closed after 15 days. New replies are no longer allowed.