[schematics] more details about the missing fields
- Lenguaje dominante
- TypeScript
- Estrellas
- 27k
- Forks
- 11.8k
- Merge medio
- 14 h 23 min
- PR fusionados (30 d)
- 162
Descripción
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
Guía de contribución
Línea de trabajo
Comienza con la ruta de error de Schematics implicada al resolver la entrada `init` en `collection.json` y, después, reproduce el caso en el que `externalSchematic()` invoca otro schematic. Traza cómo se identifican `init.schema.json` y el schematic externo; estará terminado cuando el error nombre el schematic al que pertenecen los campos que faltan.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, typescript
- Área
- cli, tooling
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100