-
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 fails when options specified #1156
Comments
As a workaround, does adding As in:
|
Nope, same error:
|
Might #1154 be a dublicate ? He uses options too. |
Output from
The command executes properly when executed without quotes:
However, outside of yarn, if I run it quoted the way yarn is trying to do, I get:
This is because the actual command is |
It appears that this change introduced the quotes around the entire script: #809 I'm not quite sure what the correct solution is, but as a work-around, I have found this to work:
|
This looks like a dupe of #735. |
Upgrading to v0.16 resolved this issue for me. |
For me on VirtualBox machine
the issue still persists here's the
|
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Yarn run
fails when options are specified in the package.json script tag:If the current behavior is a bug, please provide the steps to reproduce.
Add some script commands to package.json:
yarn run build
fails:yarn run build_test
worksnpm run build
also worksWhat is the expected behavior?
Yarn should be able to handle options in package.json's script tag.
Please mention your node.js, yarn and operating system version.
node: 4.2.6
yarn: 0.15.1
os: Ubuntu 16.04.1 LTS 4.4.0.38
The text was updated successfully, but these errors were encountered: