在带有nodejs 7.5.0的Windows 10上,安装离子2最终版本后,安装angularfire2时会出现对等依赖性错误(rxjs@5.0.0-beta.12)。
在Linux上尝试但结果是一样的。
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.
任何对最终离子2释放有相同问题的人?
答案 0 :(得分:0)
您必须安装AngularFire 2.0.0-beta.6才能使其正常运行。
npm install firebase@3.3.0 angularfire2@2.0.0-beta.6
查看此博客以获取更多信息https://chriztalk.com/ionic-2-and-firebase/