yarnpkg/yarn

yarn doesn't add global packages bin/ to $PATH

Open

#5.353 geöffnet am 12. Feb. 2018

Auf GitHub ansehen
 (18 Kommentare) (14 Reaktionen) (0 zugewiesene Personen)JavaScript (2.731 Forks)batch import
cat-bughelp wantedtriaged

Repository-Metriken

Stars
 (41.514 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

What is the current behavior? yarn doesn't add the directory for commands of globally installed packages (~/.yarn/bin) to $PATH, hence these commands cannot be invoked after having them added using yarn.

What is the expected behavior? PATH is updated to include ~/.yarn/bin by yarn during initial installation or during global package installation so commands can be invoked without requiring extra changes to config/.bashrc.

Please mention your node.js, yarn and operating system version. node v9.2.0 yarn 1.3.2 WSL (Bash on Windows)

Contributor Guide