-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Handle platforms that are missing the which
command
#153
Comments
Thanks, probably windows specific bug around yarn/pnpm support paths. I'll some better error handling here. In the meantime, running this same thing in a a shell that supports the POSIX |
Related line of code: Line 188 in 97d19db
Setting |
which
command
We can probably swap to https://github.com/npm/node-which instead |
Version `3.0.1` of `which` is the latest that supports Node 14. Version 4 requires Node 16 and version 5 requires Node 18. So I'm sticking with `3.0.1` to avoid bumping the engines range in this PR. `which` is built and maintained by `npm`: https://github.com/npm/node-which And is tested across multiple environments: https://github.com/npm/node-which/blob/b8d11c791296a3baf44703352619621215189b0e/.github/workflows/ci.yml#L54-L65 Fixes #153
PR for above is created at #154 |
Hi!
Currently I'm getting this error when trying to run Shopify CLI + VITE. I tried to run a single command and it still threw a similar error.
Package.json
Error in console after running: npm-run-all shopify:dev vite:dev
Error after running single command: npm-run-all shopify:dev
The text was updated successfully, but these errors were encountered: