question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Get error ERR_UNSUPPORTED_ESM_URL_SCHEME with command build

See original GitHub issue

Hello! Windows: 11 Node: 16.20 Npm: 8.19 In console i see error: Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
lubomirblazekczcommented, Dec 13, 2022

@Dimox ok thanks! Might be some problem on Windows, I will take a look at this later

0reactions
Dimoxcommented, Dec 16, 2022

@lubomirblazekcz thank you so much! Now it works as expected.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file ...
My problem is because my Node.js version is too low. Upgrade to Node.js 16 solved the problem.
Read more >
ERR_UNSUPPORTED_ESM_U...
ERR_UNSUPPORTED_ESM_URL_SCHEME error while running qunit test in cli ... command to run tests & it's gives 'ERR_UNSUPPORTED_ESM_URL_SCHEME ...
Read more >
Build error without any message in log - Cloudflare Community
Hello there, npm project without many dependencies, production build runs well locally, reports an error on pages without any error message ...
Read more >
Errors | Node.js v19.3.0 Documentation
These are handled using the try…catch construct provided by the JavaScript ... An error occurred while issuing a command via the node:inspector module....
Read more >
Depoy buildfails when Netlify CLI installed as dev dep - Support
I tried using my global netlify CLI but could not get the VSCode config right. ... 6:03:56 PM: Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found