Skip to content

[schematics] more details about the missing fields #16150

Open
@its-dibo

Description

@its-dibo

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions