Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Error: NOT SUPPORTED: keyword "id", use "$id" for schema ID on Angular 13 #301

Open
dmmat opened this issue Mar 25, 2022 · 0 comments
Open

Comments

@dmmat
Copy link

dmmat commented Mar 25, 2022

  • Expected behaviour: Installed ngforage

  • Actual behaviour: An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID

  • Environment:

    • Node version: v17.7.1
    • @angular/cli: ~13.1.4
    • @angular/common: ~13.1.0
  • Steps to reproduce:

    • run ng add ngforage
    • get error An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID

[error] Error: NOT SUPPORTED: keyword "id", use "$id" for schema ID
    at Object.code (/home/dmat/projects/medics-angular/node_modules/@angular/cli/node_modules/ajv/dist/vocabularies/core/id.js:6:15)
    at keywordCode (/home/dmat/projects/medics-angular/node_modules/@angular/cli/node_modules/ajv/dist/compile/validate/index.js:454:13)
    at /home/dmat/projects/medics-angular/node_modules/@angular/cli/node_modules/ajv/dist/compile/validate/index.js:222:17
    at CodeGen.code (/home/dmat/projects/medics-angular/node_modules/@angular/cli/node_modules/ajv/dist/compile/codegen/index.js:439:13)
    at CodeGen.block (/home/dmat/projects/medics-angular/node_modules/@angular/cli/node_modules/ajv/dist/compile/codegen/index.js:568:18)
    at iterateKeywords (/home/dmat/projects/medics-angular/node_modules/@angular/cli/node_modules/ajv/dist/compile/validate/index.js:219:9)
    at groupKeywords (/home/dmat/projects/medics-angular/node_modules/@angular/cli/node_modules/ajv/dist/compile/validate/index.js:208:13)
    at /home/dmat/projects/medics-angular/node_modules/@angular/cli/node_modules/ajv/dist/compile/validate/index.js:192:13
    at CodeGen.code (/home/dmat/projects/medics-angular/node_modules/@angular/cli/node_modules/ajv/dist/compile/codegen/index.js:439:13)
    at CodeGen.block (/home/dmat/projects/medics-angular/node_modules/@angular/cli/node_modules/ajv/dist/compile/codegen/index.js:568:18)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant