yarnpkg/yarn

Yarn install should warn or replace when old version are already installed

Open

#3807 aperta il 3 lug 2017

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)JavaScript (2731 fork)batch import
cat-featuregood first issuehelp wantedtriaged

Metriche repository

Star
 (41.514 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Do you want to request a feature or report a bug? bug

What is the current behavior? Installed yarn has version 0.24.6 instead of 0.27.5 through some package providers (Debian repositories, shell script, npm).

If the current behavior is a bug, please provide the steps to reproduce. docker run --rm -it node "curl -o- -L https://yarnpkg.com/install.sh | bash && yarn --version" outputs the following latest lines:

> Successfully installed Yarn 0.27.5! Please open another terminal where the `yarn` command will now be available.
0.24.6

What is the expected behavior? Last line should output 0.27.5.

Please mention your node.js, yarn and operating system version. From node docker image:

# node -v
v8.1.2
# uname -r
4.9.0-3-amd64
# cat /etc/issue
Debian GNU/Linux 8 \n \l

Guida contributor