ionic-team / ionic-team/ionic-cli
Module not found: Error: Can't resolve '../../angularfire2/firestore'
- 主要語言
- TypeScript
- 星號
- 2k
- 分支
- 682
- PR 合併指標
- 30 天內沒有已合併 PR
描述
### Version info
Angular:*4.1.3*
Firebase:*4.6.0*
AngularFire:*5.0.0-rc.3*
Ionic:*3.19*
### How to reproduce these conditions
ionic cordova build **--prod**
working great without --prod.
### Debug output
**Error: ./src/app/app.module.ngfactory.js
Module not found: Error: Can't resolve '../../angularfire2/firestore'......**
This error is killing me. I tried everything.
I can not downgrade to AngularFire v4 because I need FireStore.
貢獻指南
研究方向
Start with the production path invoked by `ionic cordova build --prod` and compare it with the working non-production build. Inspect the generated `src/app/app.module.ngfactory.js` and the reported `../../angularfire2/firestore` resolution failure. Done means the production build completes without this module-not-found error.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- angular, firebase, typescript
- 領域
- build-system, cli
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100