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

v10 broken on windows #474

Open
t8g opened this issue Jan 14, 2023 · 0 comments · May be fixed by #484
Open

v10 broken on windows #474

t8g opened this issue Jan 14, 2023 · 0 comments · May be fixed by #484

Comments

@t8g
Copy link

t8g commented Jan 14, 2023

Running micro on windows fail with

image

I think it's due to the usage of import(file) in handler.ts.
It should be fixed with the usage of pathToFileURL https://nodejs.org/api/url.html#urlpathtofileurlpath

import(pathToFileURL(file).href)

Thanks for your work on this package !

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 a pull request may close this issue.

1 participant