We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environment "@nativescript/schematics": "^10.1.0", "typescript": "~3.9.0" }
Describe the bug Getting Cannot read property 'kind' of undefined after any ng command for shared project taken from https://docs.nativescript.org/angular/code-sharing/creating-a-new-project
Cannot read property 'kind' of undefined
To Reproduce ng new -c=@nativescript/schematics project-name --shared ng add @nativescript/schematics ng g module login
Simple create a module or component with ng g module login and you'll get Cannot read property 'kind' of undefined
ng g module login
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) CREATE src/app/login/login.common.ts (177 bytes)
Solution Change the dependency of typescript to 4.0.3 instead of 3.9.0
I'm not sure where this is scaffolded from.
The text was updated successfully, but these errors were encountered:
fix(angular): update typescript to version 4 for ng new (#303)
605b24a
fixes #302
Successfully merging a pull request may close this issue.
Environment
"@nativescript/schematics": "^10.1.0",
"typescript": "~3.9.0"
}
Describe the bug
Getting
Cannot read property 'kind' of undefined
after any ng command for shared project taken from https://docs.nativescript.org/angular/code-sharing/creating-a-new-projectTo Reproduce
ng new -c=@nativescript/schematics project-name --shared
ng add @nativescript/schematics
ng g module login
Simple create a module or component with
ng g module login
and you'll getCannot read property 'kind' of undefined
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)
CREATE src/app/login/login.common.ts (177 bytes)
Solution
Change the dependency of typescript to 4.0.3 instead of 3.9.0
I'm not sure where this is scaffolded from.
The text was updated successfully, but these errors were encountered: