yarnpkg/yarn

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

Open

#3807 opened on Jul 3, 2017

View on GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (41,514 stars) (2,731 forks)batch import
cat-featuregood first issuehelp wantedtriaged

Description

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

Contributor guide