Skip to content

Angular 13+ is not supported #328

@4r7if3x

Description

@4r7if3x

Environment

  • @angular/cli 15.0.0
  • @nativescript/schematics 11.2.0

Describe the bug
The schematics cannot be used on Angular v13 or newer.

To Reproduce

$ ng new --collection=@nativescript/schematics app --shared

  An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID
  See "/tmp/ng-8bQx95/angular-errors.log" for further details.

Additional context
JSON schemas are using draft-07 format since Angular v13 [1][2]. I tried to patch this myself, but I couldn't push the hotfix branch for PR. Additionally, please apply the following changes as well:

README.md

- You should be using @angular/cli@9.1.0 or newer.
+ You should be using @angular/cli@13.0.0 or newer.
CONTRIBUTING.md

- npm install
+ npm install --legacy-peer-deps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions