0

On Windows 10 with nodejs 7.5.0, after installing the ionic 2 final version there is a peer dependency error (rxjs@5.0.0-beta.12) when installing angularfire2.

Tried on Linux but the result was the same.

ionic -v
2.2.1
npm install angularfire2 --save
ionic-hello-world@ D:\nodejs\unRated
+-- angularfire2@2.0.0-beta.7
-- UNMET PEER DEPENDENCY rxjs@5.0.0-beta.12
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.17: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN angularfire2@2.0.0-beta.7 requires a peer of rxjs@^5.0.1 but none was installed.

Anyone with the same issue on the final ionic 2 release?

Suraj Rao
  • 29,388
  • 11
  • 94
  • 103
  • 1
    have you looked at this http://stackoverflow.com/questions/20764881/why-does-npm-install-say-i-have-unmet-dependencies ? – n00b Feb 06 '17 at 23:50

1 Answers1

0

You have to install AngularFire 2.0.0-beta.6 to make it working.

npm install firebase@3.3.0 angularfire2@2.0.0-beta.6

Check this blog for more information https://chriztalk.com/ionic-2-and-firebase/

henkie14
  • 949
  • 9
  • 7