Skip to content

Windows: Can't install global package; error log included #1600

@dheerajbhaskar

Description

@dheerajbhaskar

Do you want to request a feature or report a bug?
bug

What is the current behavior?

  1. do yarn global add angular-cli
  2. ng installs successfully but is not available on PATH

If the current behavior is a bug, please provide the steps to reproduce.

  1. do yarn global add angular-cli
  2. ng installs successfully but is not available on PATH

What is the expected behavior?
you should be able to run ng in the current cmd after installation or in a new cmd instance

Please mention your node.js, yarn and operating system version.
C:\my-home\WebStormProjects\ng-test>node --version
v6.4.0
C:\my-home\WebStormProjects\ng-test>yarn --version
0.16.1

Windows version:
Screenshot of  winver

Yarn Error log:
https://gist.github.com/dheerajbhaskar/d41589b8d74dd2b817b8e5f0ddb3bf37

Possible issues:

  • Permission issues (based on cursory look at the error log)
    • I installed yarn for current user using the windows installer (not via npm, if that's even possible), could this be an issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions