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

fix: fix config load on Windows #538

Merged
merged 2 commits into from
Jul 16, 2024
Merged

Conversation

fisker
Copy link
Contributor

@fisker fisker commented Jul 16, 2024

On Windows, import('E:\\\\path\\to\\config') throws

Uncaught:
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 'e:'

Copy link

pkg-pr-new bot commented Jul 16, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

commit: 5b3cb1b

eslint-remote-tester

npm i https://pkg.pr.new/eslint-remote-tester@538

eslint-remote-tester-repositories

npm i https://pkg.pr.new/eslint-remote-tester-repositories@538


templates

Copy link
Owner

@AriPerkkio AriPerkkio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

I should probably set up Windows CI for this project.

@AriPerkkio AriPerkkio merged commit c2360fc into AriPerkkio:master Jul 16, 2024
9 checks passed
@fisker fisker deleted the windows-config branch July 16, 2024 08:19
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

Successfully merging this pull request may close these issues.

2 participants