While working on a Ionic/Angular project on Windows 11, I opened the angular.json
file on VScode and I saw that the $schema
option is not recognized and VSCode wouldn’t do any code suggestions because of that. I checked if the file schema.json
was available in the ./node_modules/@angular/cli/lib/config/
directory and it was available, still VSCode couldn’t use it.

Angular schema.json
Schema not found Error:
Unable to load schema from 'd:\Projects\ionic-angular-tutorial\node_modules\@angular\cli\lib\config\schema.json': Schema not found: file:///d:/Projects/ionic-angular-tutorial/node_modules/@angular/cli/lib/config/schema.json.(768)
To solve this issue, just add \\
before @angular
in the $schema
option as shown in the screenshot below and save the angular.json
file[1]. VSCode autocompletion/code suggestion should work for the angular.json
file[2].
