Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac os sierra 10.12.3 install fail #4548

Closed
bboywulong opened this issue Feb 9, 2017 · 4 comments
Closed

mac os sierra 10.12.3 install fail #4548

bboywulong opened this issue Feb 9, 2017 · 4 comments

Comments

@bboywulong
Copy link

information:

OS?

Mac OS Sierra 10.12.3

Versions.

node v6.9.5
typescript@2.1.5
typings@2.1.0

Repro steps.

sudo npm install -g @angular/cli

The log given by the failure.

`RandyLees-MacBook-Pro:~ randylee$ sudo npm install -g @angular/cli
Password:
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm ERR! unpack Could not read data for @angular/tsc-wrapped@0.5.2
npm ERR! unpack Could not read data for @angular-cli/ast-tools@1.0.16
npm ERR! unpack Could not read data for @angular-cli/base-href-webpack@1.0.16
npm ERR! unpack Could not read data for @angular/compiler@2.4.6
npm ERR! unpack Could not read data for @angular/compiler-cli@2.4.6
npm ERR! unpack Could not read data for @angular/core@2.4.6
npm ERR! unpack Could not read data for @ngtools/json-schema@1.0.2
npm ERR! unpack Could not read data for @ngtools/webpack@1.2.8
npm ERR! unpack Could not read data for @angular/cli@1.0.0-beta.30
npm WARN @angular/core@2.4.6 requires a peer of rxjs@^5.0.1 but none was installed.
npm ERR! Darwin 16.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "@angular/cli"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10

npm ERR! Invalid name: "@angular/tsc-wrapped"
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /Users/randylee/npm-debug.log`


@dhrubomoy
Copy link

I am also getting similar error in mac OS Sierra 10.12 and node version is 7.5.0. I am getting following error after running sudo npm install -g @angular/cli :

npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN gentlyRm not removing /Users/Dhrubo/.npm-global/bin/ng as it wasn't installed by /Users/Dhrubo/.npm-global/lib/node_modules/@angular/cli
/Users/Dhrubo/.npm-global/bin/ng -> /Users/Dhrubo/.npm-global/lib/node_modules/@angular/cli/bin/ng
/Users/Dhrubo/.npm-global/lib
└─┬ @angular/cli@1.0.0-beta.30 
  └── UNMET PEER DEPENDENCY rxjs@^5.0.1

npm WARN @angular/core@2.4.7 requires a peer of rxjs@^5.0.1 but none was installed.

@catull
Copy link
Contributor

catull commented Feb 9, 2017

This is a duplicate of #4530. Try the solution suggested there.

@filipesilva
Copy link
Contributor

@bboywulong you seem to have some proxy/firewall/npm version issue. You're not getting packages correctly.

@dhrubomoy yours is a dupe as catull said.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants