Skip to content

Cannot read property 'kind' of undefined using TypeScript ~4.0.2 #324

Description

@Damika-Anupama

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions