我正在尝试使用AngularFire (我使用的是离子电容,只有iOS和安卓,没有web应用程序)。
我遵循了一个教程,并在我的应用程序中添加了angularfire。当我运行时,我得到一个错误:Error: Uncaught (in promise) NullInjectorError: R3InjectorError(LoginPageModule) ....NullInjectorError: No provider for InjectionToken angularfi
错误显示为Can't resolve all parameters for AngularFirestore: ([object Object], ?)。其他人有过这个问题吗?你是如何解决这个问题的?我已经看过文档了,但我不能弄清楚这个问题的真相。import { Component } from '@angular/core';
import { AngularFirestore } from 'angularfire2/firestore