-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
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
nx v6.2.0 is not able to generate lazy routing module when using typescript 2.9.2 #684
Comments
@xmlking Thanks for tracking down the workaround. I had noticed this too, but I chose to just manually enter the code instead of finding a solution. |
I've found this also stops you from being able to generate applications. Am manually downgrading to TS 2.7 if I need to generate one for now. |
Sorry, I know everyone want's the latest and greatest but please do not use |
@xmlking create-nx-workspace myapp @FrozenPandaz a fair point but not always an option... |
Fixed with #783 |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
How to reproduce:
webapp
typescript
version to2.9.2
inpackage.json
ng g lib dashboard --routing --lazy --prefix=ngx --parent-module=apps/webapp/src/app/app.module.ts --tags=layout,entry-module # this will fail silently ng g lib grid --routing --lazy --prefix=ngx --parent-module=libs/dashboard/src/lib/dashboard.module.ts --tags=child-module
Success path:
if you change
typescript
version back to2.7.2
, above generate commands worksThe text was updated successfully, but these errors were encountered: