Recently, I upgraded from Angular 9 to version 14 but encountered an issue while running CLI commands like ng g c component name. The error message I received is as follows:
An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID
See "C:\Users\Username\AppData\Local\Temp\ng-9iFe21\angular-errors.log" for further details.
I tried a few solutions such as updating the @angular-eslint/schematics package, but unfortunately, none of them worked.
Below is a snippet from my package.json file:
"dependencies": {
// list of dependencies
},
"devDependencies": {
// list of dev dependencies
}
I'm seeking assistance in identifying what might be causing this error. Here's a log excerpt for reference:
[error] Error: NOT SUPPORTED: keyword "id", use "$id" for schema ID
// detailed error log