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

ERR_UNSUPPORTED_ESM_URL_SCHEME when running tsx watch on windows and importing using await import(path) #667

Open
5 of 6 tasks
TheDogHusky opened this issue Oct 17, 2024 · 3 comments
Labels
bug Something isn't working pending triage

Comments

@TheDogHusky
Copy link

TheDogHusky commented Oct 17, 2024

Acknowledgements

  • I read the documentation and searched existing issues to avoid duplicates
  • I understand this is a bug tracker and anything other than a proven bug will be closed
  • I understand this is a free project and relies on community contributions
  • I read and understood the Contribution guide

Minimal reproduction URL

https://github.com/TheDogHusky/tsx-issue-import

Problem & expected behavior (under 200 words)

The README from the minimal reproduction repo should explain in enough details.

Bugs are expected to be fixed by those affected by it

  • I'm interested in working on this issue

Compensating engineering work will speed up resolution and support the project

  • I'm willing to offer $10 for financial support
@TheDogHusky TheDogHusky added bug Something isn't working pending triage labels Oct 17, 2024
@TheDogHusky
Copy link
Author

TheDogHusky commented Oct 17, 2024

I precedently made an issue (#650) but couldn't figure out the cause of the error, now I figured it out, and am submitting an issue here.

@mvarendorff
Copy link

Probable dupe: #345

@mvarendorff
Copy link

If others stumble upon this - since the other issue is now closed and locked, I opened a PR in the repro of this issue with two approaches on how to fix this:

TheDogHusky/tsx-issue-import#1

fwiw, this does not appear to be an issue with tsx but node (the same error shows when doing the same setup with node+js).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending triage
Projects
None yet
Development

No branches or pull requests

2 participants