Skip to content

fail to install! #4530

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

Closed
calidion opened this issue Feb 8, 2017 · 6 comments
Closed

fail to install! #4530

calidion opened this issue Feb 8, 2017 · 6 comments

Comments

@calidion
Copy link

calidion commented Feb 8, 2017

Please provide us with the following information:

OS?

Linux (Ubuntu 16.04).

Versions.

@angular/cli: 1.0.0-beta.30
node: 6.9.5
os: linux x64

Repro steps.

npm install -g @angular/cli

The log given by the failure.

  1. dependency problems
  ├── UNMET PEER DEPENDENCY rxjs@^5.0.1
  1. warnings
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/@angular/cli/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN @angular/[email protected] requires a peer of rxjs@^5.0.1 but none was installed.

  1. ng help result
ng help
Cannot find module 'rxjs/symbol/observable'
Error: Cannot find module 'rxjs/symbol/observable'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at globalScope (/home/eric/.nvm/versions/node/v6.9.5/lib/node_modules/@angular/cli/node_modules/@angular/core/bundles/core.umd.js:7:85)
    at Object.<anonymous> (/home/eric/.nvm/versions/node/v6.9.5/lib/node_modules/@angular/cli/node_modules/@angular/core/bundles/core.umd.js:10:2)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)

@darrenbrett
Copy link

Did you check to make sure you're meeting the requirements for NPM and Node versions?

@kevmando
Copy link

kevmando commented Feb 9, 2017

I have same issue with exact same config.
Ubuntu 16.04
node v6.9.5
npm 3.10.10

@nmongiya
Copy link

nmongiya commented Feb 9, 2017

try npm install -g rxjs

@catull
Copy link
Contributor

catull commented Feb 9, 2017

This works for me.

ng install -g rxjs
ng install -g @angular/cli
ng help

It prints out a lot of help texts, including the most recent addition: xi18n.

@filipesilva
Copy link
Contributor

This was an unfortunate oversight in the last release. It's fixed in master and should be in the next release.

@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

6 participants