BioPhoton / BioPhoton/angular-formatter-parser
Angular 5
- Langage dominant
- TypeScript
- Étoiles
- 50
- Forks
- 6
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
I have followed your instruction and I am trying to implement on Angular 5.
But there is a strange thing that when using ng server everything works fine, but when I am building for production I am getting
main.d32a5818ac6f3d928ac5.bundle.js:1 ERROR Error: Formatter or Parser with name currencyFormat
is not provided as a function via FormatterParser
service or FORMATTER_PARSER InjectionToken.
Did you forgot to provide them?
at n.getFormatParseFunction (main.d32a5818ac6f3d928ac5.bundle.js:1)
Has anyone else found a similar problem with angular 5?
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Reproduisez la différence entre `ng server` et le build de production d’Angular 5, puis inspectez le bundle de production autour de l’erreur FormatterParser. Déterminez pourquoi `currencyFormat` n’est pas fourni comme fonction ou token d’injection et confirmez la correction en reconstruisant pour la production sans l’erreur.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- angular, typescript
- Domaine
- frontend
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100