Closed
Description
🐞 Bug report
Command (mark with an x
)
- generate
Is this a regression?
Yes, the previous version in which this bug was not present was: 11 ....Description
A clear and concise description of the problem...I initiated a new angular project in which I had --skip-tests
flag for the application on running the module generate command I got this error
🔬 Minimal Reproduction
generate new project ng new appName --skip-tests
generate new module ng generate module shared
🔥 Exception or Error
Schematic input does not validate against the Schema: {"skipTests":true,"name":"shared","project":"search"}
Errors:
Data path "" must NOT have additional properties(skipTests).
🌍 Your Environment
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 12.0.0
Node: 14.15.1
Package Manager: npm 6.14.8
OS: linux x64
Angular: 12.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1200.0
@angular-devkit/build-angular 12.0.0
@angular-devkit/core 12.0.0
@angular-devkit/schematics 12.0.0
@schematics/angular 12.0.0
rxjs 6.6.7
typescript 4.2.4
Anything else relevant?