Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: on a fresh Windows 10 install #803

Open
CRTandKDU opened this issue Oct 5, 2023 · 1 comment
Open

Comments

@CRTandKDU
Copy link

Describe the bug
After the standard idyll create to start a new "scrollytelling" project, changing to the new directory and typing `idyll' the building process produces the well-known message :

Could not import component custom-d3-component for server-side rendering.
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:

To Reproduce
Steps to reproduce the behavior:

  1. Install a fresh Idyll on Windows 10 and node version 18.18.0
  2. idyll create a brand new "scrollytelling" project
  3. Change to created directory my-idyll-post for instance
  4. Build by typing idyll and watch it crash not so gracefully!

Expected behavior
As described in the documentation it is expected to produced HTML content with the announced features

Screenshots
Iimage

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome
  • Version ??

Comments
This is probably a package version problem, an issue that plagues many Node applications! How to fix the broken idyll?

@Minh-Chi-Tai-Le
Copy link

i have the same Problem, can anyone fix that ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants