-
-
Notifications
You must be signed in to change notification settings - Fork 236
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
Spawn error on windows (cygwin) #69
Comments
Can you upgrade to version 3.1.0 and try again? |
I tried it and had the same issue! Le 31 oct. 2016 12:59 PM, "Kimmo Brunfeldt" [email protected] a
|
as a workaround, 2.2.0 still works as an aside, the error message is incorrect when using multiple commands, it repeats the same message for all commands. |
3.0.0 changed the way shells are spawned to allow more flexibility. Check https://github.com/kimmobrunfeldt/spawn-default-shell#spawn-default-shell README for more how it is spawned. It seems that somehow this detection code: https://github.com/kimmobrunfeldt/spawn-default-shell/blob/master/src/get-shell.js#L11 thinks that your shell is indeed /bin/bash but it's not. You can override this by setting a |
in cygwin, our shell is /bin/bash (or others) and spawning should be similar to linux and not require an implicit shell I personally use babun which is a prepacked no hassle cygwin (http://babun.github.io/) |
I debugged this in a virtual machine. See this issue for more details: kimmobrunfeldt/spawn-default-shell#5. Temporary workaround for now is to use |
Does anyone here want to try my fork and let us know whether that works? npm install https://github.com/kentcdodds/concurrently.git#pr/use-spawn-command |
Published v3.3.0 with the fix by @kentcdodds. |
I tried with v3.3.0 and I was still having the issue, as @phsstory mentioned installing v2.2.0 was the only workaround. |
Yeah |
I tried to use the latest version of concurrently today and got the same error. Installing version 2.2 did the trick. |
Concurrently used to work fine for me on windows (cygwin), but since the version 3.0.0 it always triggers the same error:
If you want to reproduce, you can simply use the angular 2 quickstart example and try to run it on this environment.
The text was updated successfully, but these errors were encountered: