Skip to content

ng add leads to error with Angular 13 #138

@fmalcher

Description

@fmalcher
$ ng add [email protected]
Could not parse angular.json: Cannot read property 'Loose' of undefined

The reason is this line: https://github.com/angular-schule/angular-cli-ghpages/blob/master/src/ng-add.ts#L21

The JSON parser is deprecated. See https://github.com/angular/angular-cli/blob/master/packages/angular_devkit/core/src/json/parser.ts#L926

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions