idyll-lang / idyll

Create explorable explanations and interactive essays.
http://idyll-lang.org/
MIT License
2k stars 86 forks source link

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

Open CRTandKDU opened 9 months ago

CRTandKDU commented 9 months ago

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):

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 commented 5 months ago

i have the same Problem, can anyone fix that ?