Cannot read property 'kind' of undefined using TypeScript ~4.0.2
Environment "@angular/cli": "~11.0.4", "@nativescript/schematics": "^11.2.0", "typescript": "~4.0.2"
Describe the bug
Getting Cannot read properties of undefined (reading 'kind') after any ng command for the shared project native script and angular-cli
To Reproduce
ng g c login,
ng g m material,
and err with every ng g ... command
Expected behavior ng g module login CREATE src/app/login/login.module.ts (191 bytes) CREATE src/app/login/login.module.tns.ts (270 bytes)
What I did -Initially my global and local angular-CLI versions were mismatched so I changed my global version very close to the local version
@Damika-Anupama, maybe this comes a bit late though. With that version of Angular and schematics you have to use TypeScript 4.1.x to avoid that error