8000 Can't install package globally on Windows · Issue #859 · yarnpkg/yarn · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Can't install package globally on Windows #859
Closed
@wtchangdm

Description

@wtchangdm

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

What is the current behavior?
unable to install package globally

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

yarn global add pm2

c:\>yarn global add pm2
yarn global v0.15.1
warning No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
warning fsevents@1.0.14: The platform "win32" is incompatible with this module.
info "fsevents@1.0.14" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
error ENOENT: no such file or directory, open 'C:\Users\***\AppData\Local\Yarn\.global\node_modules\abbrev\abbrev.js'
    at Error (native)
info Visit http://yarnpkg.com/en/docs/cli/global for documentation about this command.

What is the expected behavior?
install package like npm install -g pm2

Please mention your node.js, yarn and operating system version.
Windows 5672 10 x64 Enterprise, version 1607 (build 14393.321)
node js 6.7.0
yarn 0.15.1

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

      0