-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
not reading command properly when used with npm? #50
Comments
Having installed globally and run directly in cmd, I get the same result, so it isn't an npm thing. |
Concurrently is using cross-spawn library to run the commands, apparently it doesn't know how to run The command running has been an issue all the time. I'm happy to accept a PR which would use a better library than cross-spawn. btw, I'm currently on my vacation so I don't have time to maintain this repository that much. |
@kimmobrunfeldt The issue I don't understand is that |
I've been having this same issue today and it seems to be an issue with single vs. double quotes. When run on the command line For me, the problem with running this via npm was that the script itself is wrapped in double quotes when written in the package.json file (and therefore I had exchanged the inner quotes for single quotes which were causing the parsing bug to be encountered) - A simple work around was to revert back to double quotes but escape them with
|
I missed this bug when reading the issue for the first time. If commands are only partially parsed, that's a very bad bug. Could you test this with 3.0.0-dev version with npm i concurrently@3.0.0-dev |
These issues should be now fixed in 3.0.0-rc1. |
I'm using version 3.6.0 and have the exactly same problem. |
Issue still exists on 3.6.1 |
@swjain @jens-duttke can you guys please try v4, and open a new issue with more details? |
You can see my issue from the log below. When run with npm, my concurrently script seems to be misinterpreting the commands. Both commands work fine manually. I am running on Windows 10. or have I just misinterpreted the docs?
The text was updated successfully, but these errors were encountered: