geeklearningio / gl-vsts-tasks-yarn

Yarn Package Manager Visual Studio Team Services Build and Release Management extensions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yarn Installer should prepend global bin directory to path

sandorfr opened this issue · comments

Before opening an issue please read this.

Are you reporting a bug or a feature request ?

  • Bug
  • 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:

  • VSTS
  • TFS

Agent:

  • Hosted
  • Custom

OS:

  • Windows
  • Mac
  • Linux

Yarn version:
N/A

Node version:
N/A

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