Solvedangular cli UNMET PEER DEPENDENCY rxjs@^5.0.1 during npm install 1.0.0-beta.28.3

Hi, I am trying to update my angular-cli, but I get this error during the installation, I don't know who's responsible for it (angular-cli or angular): UNMET PEER DEPENDENCY rxjs@^5.0.1


  • Windows 7
  • Mac OSX (El Capitan)


angular-cli: 1.0.0-beta.28.3
node: 7.2.1
os: win32 x64

Repro steps.

Reproducible on 2 machines (Mac and Windows) during npm install -g angular-cli@latest which is supposed to install with version of angular 2.4.5

The log given by the failure.

  +-- rsvp@3.3.3
  +-- UNMET PEER DEPENDENCY rxjs@^5.0.1
  +-- sass-loader@4.1.1


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

Mention any other details that might be useful.

When I install manually npm install -g rxjs it correctly installs rxjs

`-- rxjs@5.1.0
  `-- symbol-observable@1.0.4
28 Answers

✔️Accepted Answer

Another point just to make you aware is that the cli has recently changed project names when installing from npm to get the latest beta.29 do the following:

npm uninstall -g angular-cli
npm cache clear
npm install -g @angular/cli

Other Answers:

I tried 'npm install -g rxjs ' before or after 'npm install -g @angular/cli@1.0.0-beta.29', both can't solve the issue >>>
└─┬ @angular/cli@1.0.0-beta.29

Minor note: npm cache clear. So:

npm uninstall -g angular-cli
npm cache clear
npm install -g @angular/cli

More Issues: