yarnpkg/yarn

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

Open

#3,807 建立於 2017年7月3日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)JavaScript (41,514 star) (2,731 fork)batch import
cat-featuregood first issuehelp wantedtriaged

描述

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

貢獻者指南