Min*_*eon 2 firebase ionic-framework ionic3
当我尝试构建离子应用程序时出错.实际上,当我在本地构建时,这不是问题,但是当我在离子网站中检查构建状态时,我得到了一个波纹管错误.
使用 angular5,ionic3
typescript:node_modules/angularfire2/firebase.app.module.d.ts,line:10类'FirebaseApp'错误地实现了接口'FirebaseApp'."FirebaseApp"类型中缺少属性"automaticDataCollectionEnabled".
L9: export declare const FirebaseAppConfigToken: InjectionToken;
L10: export declare class FirebaseApp implements FBApp {
L11: name: string;
Run Code Online (Sandbox Code Playgroud)
我不知道.我应该降级firebase版本吗?
UPDATE
我编辑firebase.app.module.d.ts得像答案,但我现在又得到了另一个错误.我这样编辑.gitignore.
node_modules/*
!node_modules/angularfire2/firebase.app.module.d.ts
Run Code Online (Sandbox Code Playgroud)
npm WARN angularfire2@5.0.0-rc.6.0需要@ firebase/app @ ^ 0.1.6的同行,但没有安装.
错误的ERR!无效的tar标头.也许焦油已损坏或需要喷枪?
错误的ERR!可以在以下位置找到此运行的完整日志:npm ERR!
/home/gitlab-runner/.npm/_logs/2018-04-20T07_49_29_110Z-debug.log
| 归档时间: |
|
| 查看次数: |
1354 次 |
| 最近记录: |