-
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
Running jest via yarn run
breaks jest
#3767
Comments
Issue was introduced between 0.25 and 0.26 |
This PR broke the tests #3536 |
Is it breaking only jest run? I have the same issue with grunt. Grunt is not referenced in script section of package json and I'm launching it using following command |
If you add YARN_SILENT=0 in package.json similar to #3770, does it fix for you? |
Actually my issue is not solved be env variable, steps to reproduce below
Expected result:
Actual result:
adding dummy record to scripts, fixes the problem
|
Looks like a Windows related bug, can't repro on Mac.
I don't think it is related to this task.
Could you please raise another issue?
…On 30 June 2017 at 00:10, Виталий ***@***.***> wrote:
Actually my issue is not solved be env variable, steps to reproduce below
- yarn init
- yarn add grunt
- yarn run grunt -- --version
*Expected result:*
yarn run v0.24.6
$ "C:\work\repos\repo\node_modules\.bin\grunt" --version
grunt-cli v1.2.0
grunt v1.0.1
Done in 0.51s.
*Actual result:*
yarn run v0.27.3
$ "C:\work\repos\repo\node_modules\.bin\grunt" "--version"
'C:\work\repos\repo\node_modules\.bin\grunt" "--version' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
adding dummy record to scripts, fixes the problem
"scripts": {
"grunt": "grunt"
}
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#3767 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACBdWDna2gGJJoZzCCwr1IBWX2dLO3tSks5sJJ9bgaJpZM4OKAUs>
.
|
sure, #3773 |
After updating to 0.27.3 Travis started failing tests https://travis-ci.org/yarnpkg/yarn/jobs/248542037.
This can be reproduced locally:
However running jest directly works
The text was updated successfully, but these errors were encountered: