Npm update fails with hello-world app


#1

I get following error when attempting to do node update:
> node-sass@3.10.1 install /root/myApp/node_modules/@ionic/app-scripts/node_modules/node-sass
> node scripts/install.js

module.js:328
    throw err;
    ^

Error: Cannot find module '/root/myApp/node_modules/@ionic/app-scripts/node_modules/node-sass/scripts/install.js'
    at Function.Module._resolveFilename (module.js:326:15)
    at Function.Module._load (module.js:277:25)
    at Function.Module.runMain (module.js:442:10)
    at startup (node.js:136:18)
    at node.js:966:3
npm ERR! Linux 4.4.0-59-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/local/bin/npm" "update"
npm ERR! node v4.2.6
npm ERR! npm  v2.11.3
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package rxjs does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer @angular/core@2.4.3 wants rxjs@^5.0.1

npm ERR! Please include the following file with any support request:
npm ERR!     /root/myApp/npm-debug.log

Here is log when I do npm ls command:
ionic-app-base@ /root/myApp
├── @angular/common@2.2.1
├── @angular/compiler@2.2.1
├─┬ @angular/compiler-cli@2.2.1
│ ├─┬ @angular/tsc-wrapped@0.3.0
│ │ ├─┬ tsickle@0.1.7
│ │ │ ├─┬ mkdirp@0.5.1
│ │ │ │ └── minimist@0.0.8
│ │ │ ├─┬ source-map@0.4.4
│ │ │ │ └── amdefine@1.0.1
│ │ │ └─┬ source-map-support@0.3.3
│ │ │ └─┬ source-map@0.1.32
│ │ │ └── amdefine@1.0.1
│ │ └── typescript@2.1.5
│ ├── minimist@1.2.0
│ ├── reflect-metadata@0.1.9
│ └── typescript@2.1.5
├── @angular/core@2.2.1
├── @angular/forms@2.2.1
├── @angular/http@2.2.1
├── @angular/platform-browser@2.2.1
├── @angular/platform-browser-dynamic@2.2.1
├─┬ @angular/platform-server@2.2.1
│ └── parse5@2.2.3
├─┬ @ionic/storage@1.1.7
│ ├── @angular/core@2.4.3
│ ├── @types/localforage@0.0.30
│ ├─┬ localforage@1.4.3
│ │ └─┬ lie@3.0.2
│ │ ├─┬ es3ify@0.1.4
│ │ │ ├── esprima-fb@3001.1.0-dev-harmony-fb
│ │ │ ├─┬ jstransform@3.0.0
│ │ │ │ ├── base62@0.1.1
│ │ │ │ └─┬ source-map@0.1.31
│ │ │ │ └── amdefine@1.0.1
│ │ │ └── through@2.3.8
│ │ ├── immediate@3.0.6
│ │ ├─┬ inline-process-browser@1.0.0
│ │ │ ├─┬ falafel@1.2.0
│ │ │ │ ├── acorn@1.2.2
│ │ │ │ ├── foreach@2.0.5
│ │ │ │ ├── isarray@0.0.1
│ │ │ │ └── object-keys@1.0.11
│ │ │ └─┬ through2@0.6.5
│ │ │ ├─┬ readable-stream@1.0.34
│ │ │ │ ├── core-util-is@1.0.2
│ │ │ │ ├── inherits@2.0.3
│ │ │ │ ├── isarray@0.0.1
│ │ │ │ └── string_decoder@0.10.31
│ │ │ └── xtend@4.0.1
│ │ └─┬ unreachable-branch-transform@0.3.0
│ │ ├── esmangle-evaluator@1.0.1
│ │ ├─┬ recast@0.10.43
│ │ │ ├── ast-types@0.8.15
│ │ │ ├── esprima-fb@15001.1001.0-dev-harmony-fb
│ │ │ ├── private@0.1.6
│ │ │ └── source-map@0.5.6
│ │ └─┬ through2@0.6.5
│ │ ├─┬ readable-stream@1.0.34
│ │ │ ├── core-util-is@1.0.2
│ │ │ ├── inherits@2.0.3
│ │ │ ├── isarray@0.0.1
│ │ │ └── string_decoder@0.10.31
│ │ └── xtend@4.0.1
│ ├── localforage-cordovasqlitedriver@1.5.0
│ ├─┬ rxjs@5.0.0-beta.12 peer invalid
│ │ └── symbol-observable@1.0.4
│ └── zone.js@0.7.5
├── ionic-angular@2.0.0-rc.5
├─┬ ionic-native@2.2.11
│ └─┬ rxjs@5.0.3
│ └── symbol-observable@1.0.4
├── ionicons@3.0.0
├─┬ rxjs@5.0.0-beta.12
│ └── symbol-observable@1.0.4
├─┬ sw-toolbox@3.4.0
│ ├─┬ path-to-regexp@1.7.0
│ │ └── isarray@0.0.1
│ └── serviceworker-cache-polyfill@4.0.0
├── typescript@2.0.9
└── zone.js@0.6.26

npm ERR! peer invalid: rxjs@5.0.0-beta.12 /root/myApp/node_modules/@ionic/storage/node_modules/rxjs

#2

I am having the same issue with another example I have downloaded from git https://github.com/ronzeidman/ng2-ui-auth-example. They have use ionic storage in the example. I guess its the same issue.