cypress
cypress copied to clipboard
Adding @cypress/schematic to Angular 17 default gives: Could not find NgModule
Current behavior
As of Angular 17 it doesn't make use of modules anymore by default. But after running ng generate component
I get the following error:
Could not find an NgModule. Use the '--skip-import' option to skip importing in NgModule.
--skip-import does work, but doesn't create a standalone component. (So you miss the standalone & imports properties)
I added "@cypress/schematic" by using ng add "@cypress/schematic"
Desired behavior
--skip-import should be the default.
Test code to reproduce
install angular 17
ng add @cypress/schematic
ng g c test123
Cypress Version
13.6.0
Node version
18.14.2
Operating System
Windows 10 pro 19045.3693
Debug Logs
No response
Other
No response