Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[schematics] more details about the missing fields

Open
#16,150 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
angular, typescript
Domain
cli, tooling

Research direction

Start with the schematics error path involved when resolving the init entry in collection.json, then reproduce the case where externalSchematic() invokes another schematic. Trace how init.schema.json and the external schematic are identified; done means the error names the schematic that owns the missing fields.

Written by the indexing model from the issue text.

Description

area: @angular-devkit/schematics freq1: low severity3: broken type: bug/fix

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

Dominant language
TypeScript
Stars
27k
Forks
11.8k
Avg merge
16h 35m
Merged PRs (30d)
176

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from angular/angular-cli

All issues in angular/angular-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.