[cypress] schematic overwrite does not work with Angular CLI 8 generated projects
Opened this issue · 0 comments
BBlackwo commented
Getting an error when running npx ng g @co-it/schematics:cypress --overwrite=true
:
No e2e project named "my-app-e2e" was found. If you want to create a new e2e project, please set --overwrite to false and provide a root folder via --folder.
In Angular CLI v8 the angular.json
structure has changed.
Version 7
"projects": {
"my-app": {},
"my-app-e2e": {}
},
Version 8
"projects": {
"my-app": {
"architect": {
"e2e": {}
}
}
},