升级Ionic并创建新应用并将旧的工作代码复制到新应用后,我遇到了问题。
任何帮助表示感谢。
Runtime Error Error in :0:0 caused by: No provider for Token FirebaseAppName!
app.module.ts
providers: [{ provide: ErrorHandler, useClass: IonicErrorHandler },
FIREBASE_PROVIDERS, defaultFirebase(FIREBASE_CONFIG),
Network, FirebaseDataService]
信息
Your system information:
Cordova CLI: 6.4.0
Ionic Framework Version: 2.3.0
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
Ionic App Scripts Version: 1.1.4
ios-deploy version: Not installed
ios-sim version: Not installed
OS: macOS Sierra
Node Version: v6.9.4
Xcode version: Xcode 8.2.1 Build version 8C1002