-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
yarn run doesn't work, but npm run #1298
Comments
@tiendq which error is returned when calling |
@victornoel Here you are `YOSEMITE:react-todo-list tiendq$ yarn run start yarn run v0.15.1 $ "webpack --progress --colors --watch" sh: webpack --progress --colors --watch: command not found error Command failed with exit code 127. info Visit http://yarnpkg.com/en/docs/cli/run for documentation about this command.` |
Thanks, I have the same problem then :) it seems like the whole |
@victornoel Agreed. That's odd, though, because execute-lifecycle-script is adding the That flag shoud cause the shell to should correctly parse arguments found within the original command string, e.g.,:
vs
@tiendq @victornoel Out of curiosity, what happens if you just |
@michaelsanford The same error. |
I just updated yarn 0.16.1, and |
Just happened to me but I realized that I hadn't run 'yarn' after I added some new files from a co-worker. After I ran 'yarn', 'yarn start' fired right up! |
I'm on 'yarn run v1.12.3' this version, help me to fix this issue |
Same issue in 1.22.4. Can execute it via npm but unable to do so with yarn. Webpack isnt installed globally however, tried to target the binary located in node_modules/.bin/webpack directly, but without any success. |
webpack --progress --colors --watch
npm run start
yarn run start
Webpack is installed globally.
My package.json like this:
"scripts": { "dist": "webpack -p", "lint": "eslint *.js", "start": "webpack --progress --colors --watch" }
I think it's a bug.
yarn v0.15.1, node 6.5.0, OSX 10.11.6
The text was updated successfully, but these errors were encountered: