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 "spawn sirv ENOENT" error caused by Windows OS #1

Merged
merged 3 commits into from
Dec 23, 2021
Merged

Fix "spawn sirv ENOENT" error caused by Windows OS #1

merged 3 commits into from
Dec 23, 2021

Conversation

arimgibson
Copy link

Fixes an annoying quirk of Windows as documented in nodejs/node#3675, which causes an ENOENT error when trying to spawn a new child process for sirv

@arimgibson arimgibson marked this pull request as draft December 20, 2021 00:19
@arimgibson arimgibson closed this Dec 20, 2021
@arimgibson
Copy link
Author

Sorry for the messy commit history! Think I sorted it all out though, so it should all be one smooth commit.

I realized other bugs I had encountered were also due to how Windows deals with spawning child processes, and the best solution was to add the cross-spawn package.

@arimgibson arimgibson reopened this Dec 20, 2021
@arimgibson arimgibson marked this pull request as ready for review December 20, 2021 00:56
@arimgibson
Copy link
Author

Bump @milahu 😊 not sure if you get notified on PRs or not

@milahu milahu merged commit f403655 into milahu:refactor-class-jsbundle Dec 23, 2021
@milahu
Copy link
Owner

milahu commented Dec 23, 2021

thanks!

not sure if you get notified on PRs or not

no, but should ...

edit: sorry im too stupid to merge ^^ this should be in master branch

edit: all good, i just noticed this is a PR for my PR fpapado#2

@arimgibson arimgibson deleted the refactor-class-jsbundle branch December 26, 2021 14:38
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