Closed zjkipping closed 2 years ago
Seems like a duplicate of #8253.
Closing as duplicate. Follow #8253 for updates.
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.
Current Behavior
When running
externalSchematic('@nrwl/angular', 'app', { name: 'test' })
after migrating to nx 13.8.x I get an error stating "Could not find an NgModule. Use the skip-import option to skip importing in NgModule.".Running a manual
yarn nx generate application test
works just fine in the command line...Expected Behavior
Run the above command and an angular application is created successfully in the
/apps
directory. This worked fine in our 12.7.x nx versions.Steps to Reproduce
Create custom generator adding
externalSchematic('@nrwl/angular', 'app', { name: 'test' }),
to the rules chain.Failure Logs
Environment