-
Notifications
You must be signed in to change notification settings - Fork 7
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
[Win] ERR_UNSUPPORTED_ESM_URL_SCHEME #39
Comments
Also running into this issue, any workarounds for windows in the meantime? |
With yarn berry can be created a patch. |
Same issue on my side, any workarround? |
Help! |
Unfortunately, combining with cwd makes passed file url change from |
Simple solution is to change both cases of const loaded = await import(jsPath); to import * as path from 'node:path';
const loaded = await import(url.pathToFileURL(jsPath)); |
Related to v5.0.0-beta.0 (it correctly works with v4.0.0-beta.10)
Result
The text was updated successfully, but these errors were encountered: