Skip to content

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

@CRTandKDU

Description

@CRTandKDU

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions