Open rosskevin opened 7 years ago
The correct version is installed. When you run yarn info
this hits the npm registry and reports the information from there.
$ yarn info react version
yar info v0.18.0-0
15.4.0-rc.4
✨ Done in 0.27s.
$ npm info react version
15.3.2
Confirmed, the correct version is installed. Is there a CLI command I should be using to find out which is installed?
yarn ls react
would do it.
is there currently a way to get info for the installed version? I'm looking for peerDependencies of currently installed packages
Actually, npm info
(alias for npm view
) shows npm registry version not installed version.
See https://docs.npmjs.com/cli/view
You use npm ls
for local package version, and npm explore
for running commands in local package folder
yarn ls
was removed, now I assume yarn list
does the same thing?
Do you want to request a feature or report a bug? BUG
What is the current behavior? Currently, installing
"react": "15.3.2"
installs version15.4.0-rc.4
If the current behavior is a bug, please provide the steps to reproduce.
Here is a snapshot of
yarn info react
:What is the expected behavior? It installs the specified version
15.3.2
Please mention your node.js, yarn and operating system version. yarn 0.16.1, and 0.17.0 node 7.1.0 os OSX 10.12.1