ionic-team / ionic-team/ionic-cli

Module not found: Error: Can't resolve '../../angularfire2/firestore'

Ouverte
#2,899 1 commentaire 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
2k
Forks
682
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### 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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
angular, firebase, typescript
Domaine
build-system, cli
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.