[schematics] more details about the missing fields
- Langage dominant
- TypeScript
- Étoiles
- 27k
- Forks
- 11.8k
- Merge moyen
- 14 h 23 min
- PR mergées (30 j)
- 162
Description
Error: Schematic "init" is missing fields.
what exactly the missing fields?
```
//collection.json
{
"$schema": "../../../node_modules/@angular-devkit/schematics/collection-schema.json",
"schematics": {
"init": {
"description": "creates a new builder",
"factory": "./index#init",
"schema": "./init.schema.json"
}
}
}
```
modify:
after houres of inspecting, the issue was from another schematic ( i.e: using externalSchematic() )
so, it is better to explain whitch schematic that this issue belongs to
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par le chemin d’erreur de Schematics impliqué lors de la résolution de l’entrée `init` dans `collection.json`, puis reproduisez le cas où `externalSchematic()` invoque un autre schematic. Suivez la manière dont `init.schema.json` et le schematic externe sont identifiés ; le travail est terminé lorsque l’erreur nomme le schematic auquel appartiennent les champs manquants.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- angular, typescript
- Domaine
- cli, tooling
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100