我正在使用最新版本的angularfirebase2
^5.0.0-rc.10
`@angular/cli: 1.4.1
node: 8.10.0
os: win32 x64
@angular/animations: 4.4.6
@angular/cdk: 2.0.0-beta.12
@angular/common: 4.4.6
@angular/compiler: 4.4.6
@angular/core: 4.4.6
@angular/forms: 4.4.6
@angular/http: 4.4.6
@angular/material: 2.0.0-beta.12
@angular/platform-browser: 4.4.6
@angular/platform-browser-dynamic: 4.4.6
@angular/router: 4.4.6
@angular/cli: 1.4.1
@angular/compiler-cli: 4.4.6
@angular/language-service: 4.4.6
typescript: 2.3.4`
但在编译项目时,它会抛出一个错误:
E: /Prashant/UserManagement/Farmer Angular/kalpavriksha-Angular-v4/no d E-modules/angularfer2/firebase.app.module.d.ts(2,42):模块“E:/Prashant/UserManagement/Farmer Angular/kalpavriksha-Angular-v4/node-modules/firebase/index”没有导出的成员“functions”。
将firebase版本更新为
^5.0.4
获取此错误: