geeklearningio / gl-vsts-tasks-yarn

Yarn Package Manager Visual Studio Team Services Build and Release Management extensions
MIT License
52 stars 18 forks source link

Yarn Installer should prepend global bin directory to path #43

Open sandorfr opened 6 years ago

sandorfr commented 6 years ago

Before opening an issue please read this.

Are you reporting a bug or a feature request ?

Description

%LOCALAPPDATA%\Yarn\bin should be prependend to path in order to enable yarn global add to work properly

System information

VSTS or TFS:

Agent:

OS:

Yarn version: N/A

Node version: N/A

sandorfr commented 6 years ago

Actually hosted agent are not using the default prefix but C:\npm\prefix\bin https://yarnpkg.com/lang/en/docs/cli/global/