-
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
Incorrect package install version #2648
Comments
Just tried this with Yarn 1.2.1 and it seems worse: in package.json:
then run yarn.lock gets 2.2.0:
|
On second thought, maybe this is correct in 1.2.1? According to NPM semver:
I originally thought that because there was a NPM 5.5 also installs v 2.2.0 for this package.json, same as Yarn. In that case, I think this is working as intended in Yarn v1.2.1. If this is still an issue then it is likely due to the resolution of the prerelease tags, which has several duplicates open also, see #3560 Going to close this for now... |
Hi, I seem to have encountered the same problem. In my case the
If So I don't know if should I switch from npm to yarn. Thanks for your help |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Running yarn with "bootstrap-loader": "^2.0.0-beta.20", install "bootstrap-loader": "^2.0.0-export.1",
If the current behavior is a bug, please provide the steps to reproduce.
Create the following package.json
run
yarn
What is the expected behavior?
Install version "bootstrap-loader": "^2.0.0-beta.20",
As npm does
Please mention your node.js, yarn and operating system version.
node v6.9.2
yarn v0.19.1
If you check the information on the package
npm view bootstrap-loader versions dist-tags
versions: [ '0.0.1', ... '2.0.0-beta.20', '2.0.0-exports.1' ],
2.0.0-exports.1 is the last on the array of versions but the lastest version is
'dist-tags': { latest: '2.0.0-beta.20', 'ver0.1.0-beta1': '0.1.0-beta1' },
The text was updated successfully, but these errors were encountered: