-
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 installs old versions in .bin #3801
Comments
Can repro this with latest Yarn. |
|
package-linker.js |
As another data point, 0.24.6 works correctly for me, and 0.25.4 breaks (it means our yarn script uses the wrong eslint version and breaks our linting). |
Also, if there is one without a bin and one with, it won't even put anything in .bin. Example: {
"name": "test-yarn",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"devDependencies": {
"sane": "^2.0.0",
"watch": "^1.0.2"
}
} sane depends on watch 0.10.0, which has no .bin, but watch 1.0 does. No watch command is added to node_modules/.bin |
Just got bitten by this too. It seems that was broken in 0.25.4 (0.25.3 works fine): v0.25.3...v0.25.4 |
Our CI builds started failing only on linux because of this as our provider updated yarn to v0.27.5. Running |
I have a working PR to fix this issue here #3877 |
Reproduce with
Prints
uglify-js 2.8.29
but should print version 3.The text was updated successfully, but these errors were encountered: