Full Stack Next.js on Cloudflare Pages

For Workes & Pages, what is the name of the domain?

What is the error message?

./lib/mongodb.js ▲ Dynamic Code Evaluation (e. g. ‘eval’, ‘new Function’, ‘WebAssembly.compile’) not allowed in Edge Runtime ▲ Learn More: Dynamic code evaluation is not available in Middlewares or Edge API Routes | Next.js

What is the issue or error you’re encountering

I have a full stack next.js site on vercel. I have my backend and database configured in Next.js only. I was deploying to cloudflare pages and got error with mongoose.

This reply explains a bit about WASM on Workers:

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