Angularfire2 离子3

Angularfire2 Ionic3

我正在尝试在 Ionic3 应用程序上使用 Angularfire2。

安装它时 npm install angularfire2,我收到弃用警告:

npm WARN deprecated angularfire2@5.2.1: AngularFire has moved, we're now @angular/fire.

但是如果尝试安装新的@angular/fire npm install @angular/fire 我看到每个版本都需要一个@angular/core >= 6.0.0 - 这比(即“5.2.11”)。

所以,我的问题是如何在 Ionic3 上使用未弃用的 angularfire2 库?

谢谢

A deprecation message doesn’t always mean the package or version is unusable; it may mean the package is unmaintained and will no longer be updated by the publisher. https://docs.npmjs.com/using-deprecated-packages

这留下了一些选择,升级 angular 以满足建议,将 angularfire 降级到支持您的 angular 版本的版本,或者尝试按原样使用并希望最好。