kyubisation / angular-t9n

Apache License 2.0
9 stars 1 forks source link

NOT SUPPORTED: keyword "id", use "$id" for schema ID #7

Closed daniel-sc closed 2 years ago

daniel-sc commented 2 years ago

When installing with Angular 13, I get the following error:

$ ng add angular-t9n
i Using package manager: npm
√ Found compatible package version: angular-t9n@12.0.0.
√ Package information loaded.

The package angular-t9n@12.0.0 will be installed and executed.
Would you like to proceed? Yes
√ Package successfully installed.
An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID
See "C:\Users\e502692\AppData\Local\Temp\ng-dvrvyo\angular-errors.log" for further details.

The log file reads like this:

[error] Error: NOT SUPPORTED: keyword "id", use "$id" for schema ID
    at Object.code (C:\devsbb\projekte\cargo-hub-ui-3\node_modules\@angular-devkit\core\node_modules\ajv\dist\vocabularies\core\id.js:6:15)
    at keywordCode (C:\devsbb\projekte\cargo-hub-ui-3\node_modules\@angular-devkit\core\node_modules\ajv\dist\compile\validate\index.js:454:13)
    at C:\devsbb\projekte\cargo-hub-ui-3\node_modules\@angular-devkit\core\node_modules\ajv\dist\compile\validate\index.js:222:17
    at CodeGen.code (C:\devsbb\projekte\cargo-hub-ui-3\node_modules\@angular-devkit\core\node_modules\ajv\dist\compile\codegen\index.js:439:13)
    at CodeGen.block (C:\devsbb\projekte\cargo-hub-ui-3\node_modules\@angular-devkit\core\node_modules\ajv\dist\compile\codegen\index.js:568:18)
    at iterateKeywords (C:\devsbb\projekte\cargo-hub-ui-3\node_modules\@angular-devkit\core\node_modules\ajv\dist\compile\validate\index.js:219:9)
    at groupKeywords (C:\devsbb\projekte\cargo-hub-ui-3\node_modules\@angular-devkit\core\node_modules\ajv\dist\compile\validate\index.js:208:13)
    at C:\devsbb\projekte\cargo-hub-ui-3\node_modules\@angular-devkit\core\node_modules\ajv\dist\compile\validate\index.js:192:13
    at CodeGen.code (C:\devsbb\projekte\cargo-hub-ui-3\node_modules\@angular-devkit\core\node_modules\ajv\dist\compile\codegen\index.js:439:13)
    at CodeGen.block (C:\devsbb\projekte\cargo-hub-ui-3\node_modules\@angular-devkit\core\node_modules\ajv\dist\compile\codegen\index.js:568:18)