-
-
Notifications
You must be signed in to change notification settings - Fork 13
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 |
PR for above is created at #154 |
Try out https://github.com/bcomnes/npm-run-all2/releases/tag/v6.2.4 and let me know if that works for you. |
Thank you for the update. This is currently what the console is outputing.
|
It shouldn't be cross-spawn'ing |
I just uninstalled the package and installed it just to double check the package version and the console output changed. Console output:
Package.json
|
Is there a larger stack trace? Sorry I don't have windows to debug with easily. |
Nevermind, I think I see the issue, working on a fix. |
@leebaroneau Do you run If you don’t prefix it with
|
@bcomnes I wonder if we should look into the reason for the short stack trace? |
I bungled the release a little bit. Try v6.2.6 |
@leebaroneau if you scroll up on the output of that second one, don’t you see the output of the other one then? |
@voxpelli - No it only shows whatever is the first command. Ie npm-run-all vite:dev shopify:dev - will only show the vite output |
After further investigate it doesn't look like it only runs the first command and never runs the second one at all. |
Do you have a reproducible example? I have no idea whats going on from the screenshots. |
@leebaroneau Then specify explicitly that it should be parallel, |
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: