Skip to content
This repository has been archived by the owner on May 1, 2022. It is now read-only.

Call node explicitly in order to run snowpack on Windows, too #44

Merged

Conversation

moitias
Copy link
Contributor

@moitias moitias commented Feb 12, 2020

Which issue does this fix?

Closes #40

Describe the solution

The change forces the snowpack 'binary' js file to be run with node, always. Running it 'as a file' works on POSIX-ish environments as it detects the actual binary to run the script with from the hashbang but Windows uses extensions to determine this and node is not typically set up as the default interpreter for .js files.

Copy link
Owner

@jacobdeichert jacobdeichert left a comment

Choose a reason for hiding this comment

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

Perfect 🙌

@jacobdeichert jacobdeichert merged commit 6db6f63 into jacobdeichert:master Feb 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Failed to transform with babel"
2 participants