Install Fail -- rxjs@5.0.0-beta.12 wanted


Updated to cli 2.2.1. Now getting this error when trying to build new app:

Binary is fine; exiting.
npm ERR! Darwin 16.3.0
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” "install"
npm ERR! node v4.0.0
npm ERR! npm v2.14.2

npm ERR! peerinvalid The package rxjs@5.0.0-beta.12 does not satisfy its siblings’ peerDependencies requirements!
npm ERR! peerinvalid Peer @angular/core@2.2.1 wants rxjs@5.0.0-beta.12

npm ERR! Please include the following file with any support request:
npm ERR! /Users/lrlarson/myApp/npm-debug.log
Error with start undefined
Error Initializing app: There was an error with the spawned command: npminstall
There was an error with the spawned command: npminstall

I have the log.

What is going on with the rxjs file?

here is my ionic info:

Cordova CLI: 6.4.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.1.7
ios-deploy version: 1.8.4
ios-sim version: 5.0.6
OS: macOS Sierra
Node Version: v4.0.0
Xcode version: Xcode 8.2.1 Build version 8C1002



The same thing happened to me. Node.js is out of date. I simply updated Node (Using n, you can learn about it here: SO: How do update Node.js? ) and re-ran start. and it was all good.

Glenn R. Martin