Open richardleve opened 2 years ago
Modifying the CLI version worked here as Richard suggested in the link below: https://stackoverflow.com/questions/69895552/not-supported-keyword-id-use-id-for-schema-id-tslint-ng-add-angular-e
I ran into the same issue and your suggestion helped but it's ridiculous that the very first lesson is failing.
In your package.json change @angular/cli": "^12.2.0
Experienced this in the beginning of the course and was worried. Thank you guys it worked
I am at the beginning of the course, and can't run the command below, the error message seems somehow related do the upgrade to Angular 13
// TERMINAL $ ng g store auth/Auth --module auth.module.ts An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID See "/tmp/ng-fwrbwu/angular-errors.log" for further details.
// ANGULAR-ERRORS.LOG [error] Error: NOT SUPPORTED: keyword "id", use "$id" for schema ID at Object.code (/home/richard/git/personal/ngrx-course/node_modules/@angular-devkit/core/node_modules/ajv/dist/vocabularies/core/id.js:6:15) at keywordCode (/home/richard/git/personal/ngrx-course/node_modules/@angular-devkit/core/node_modules/ajv/dist/compile/validate/index.js:454:13) at /home/richard/git/personal/ngrx-course/node_modules/@angular-devkit/core/node_modules/ajv/dist/compile/validate/index.js:222:17 at CodeGen.code (/home/richard/git/personal/ngrx-course/node_modules/@angular-devkit/core/node_modules/ajv/dist/compile/codegen/index.js:439:13) at CodeGen.block (/home/richard/git/personal/ngrx-course/node_modules/@angular-devkit/core/node_modules/ajv/dist/compile/codegen/index.js:568:18) at iterateKeywords (/home/richard/git/personal/ngrx-course/node_modules/@angular-devkit/core/node_modules/ajv/dist/compile/validate/index.js:219:9) at groupKeywords (/home/richard/git/personal/ngrx-course/node_modules/@angular-devkit/core/node_modules/ajv/dist/compile/validate/index.js:208:13) at /home/richard/git/personal/ngrx-course/node_modules/@angular-devkit/core/node_modules/ajv/dist/compile/validate/index.js:192:13 at CodeGen.code (/home/richard/git/personal/ngrx-course/node_modules/@angular-devkit/core/node_modules/ajv/dist/compile/codegen/index.js:439:13) at CodeGen.block (/home/richard/git/personal/ngrx-course/node_modules/@angular-devkit/core/node_modules/ajv/dist/compile/codegen/index.js:568:18)