Skip to content

[schematics] more details about the missing fields #16150

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

Activity

  1. alan-agius4 commented on Nov 11, 2019

    @alan-agius4
    Collaborator

    This seems like a bug but we'll need to look at a reproduction to find and fix the problem. Can you setup a minimal repro please?

    Also, kindly provide the full output of ng version.

    Thanks.

  2. its-dibo commented on Nov 11, 2019

    @its-dibo
    Author

    @alan-agius4 I modified the issue

  3. added this to the Backlog milestone on Nov 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions