For Workers & Pages, what is the name of the domain?
N/A
What is the error number?
N/A
What is the error message?
ReferenceError: await is not defined
What is the issue or error you’re encountering
Issues to run NextJS
What steps have you taken to resolve the issue?
N/A
What are the steps to reproduce the issue?
Hi,
I am trying to create a new Next.js app that I will deploy to Cloudflare Pages. I am following the official documentation:
To create the new Next.js app I am using the npm command from Cloudflare in order to have a pre-configured app to run on Cloudflare Pages.
This is the command I used: npm create cloudflare@latest
However when my NodeJS app is ready and I use “npm run dev” it gives errors (ReferenceError: await is not defined).