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

0.13.1 started throwing during build #440

Closed
6 tasks done
hmt opened this issue Feb 9, 2023 · 1 comment
Closed
6 tasks done

0.13.1 started throwing during build #440

hmt opened this issue Feb 9, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@hmt
Copy link
Contributor

hmt commented Feb 9, 2023

Describe the bug

This message comes up when building:

Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file and data are supported by the default ESM loader. Received protocol 'virtual:'
    at new NodeError (node:internal/errors:399:5)
    at throwIfUnsupportedURLScheme (node:internal/modules/esm/resolve:964:11)
    at defaultResolve (node:internal/modules/esm/resolve:1040:3)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:416:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
    at link (node:internal/modules/esm/module_job:75:36)

Reproduction

Sorry, don't have a minimal repo at hand.

Checkout shallow from https://github.com/SVWS-NRW/SVWS-Server/tree/dev/svws-webclient and run npm i in that dir then proceed to https://github.com/SVWS-NRW/SVWS-Server/tree/dev/svws-webclient/src/ui-components/ts to npm run story:build

System Info

System:
    OS: macOS 13.2
    CPU: (6) x64 Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz
    Memory: 33.87 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 19.6.0 - /usr/local/bin/node
    npm: 9.4.0 - /usr/local/bin/npm
  Browsers:
    Brave Browser: 109.1.47.186
    Chrome: 109.0.5414.119
    Firefox: 109.0.1
    Safari: 16.3

Used Package Manager

npm

Validations

@hmt hmt added the to triage This issue needs to be triaged label Feb 9, 2023
@FliPPeDround
Copy link

I have the same problem, is there a solution now?

@Akryum Akryum added bug Something isn't working and removed to triage This issue needs to be triaged labels Feb 10, 2023
@Akryum Akryum closed this as completed in 7d1c2e4 Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants