yarnpkg/yarn

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

Open

#3.807 geöffnet am 3. Juli 2017

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (41.514 Stars) (2.731 Forks)batch import
cat-featuregood first issuehelp wantedtriaged

Beschreibung

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