Next.js Discord

Discord Forum

next/font error on creating new project

Unanswered
Brown bear posted this in #help-forum
Open in Discord
Brown bearOP
hello, im creating a nextjs project as always and when i run "npm run dev" i have this error
⨯ app\layout.tsx An error occurred in `next/font`. Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'

0 Replies