Teebo/scss-migrate

Error 'Not a valid Angular CLI project' when `defaultProject` is missed in angular.json

Closed this issue · 1 comments

Error 'Not a valid Angular CLI project' is diplsayed
on ng add schematics-scss-migrate (css -> scss)
when defaultProject is missed in angular.json.

Since Angular v14 defaultProject is deprecated (see https://blog.ninja-squad.com/2022/06/02/angular-cli-14.0/).
So, it's valid case that it absents in angular.json.

Expected behavior: there's no error 'Not a valid Angular CLI project'.

Teebo commented

@AlexElin, it is resolved. Thanks