What is wrong with the new version of Angular? Angular CLI 12.0.1 can't create new application. Tried to run ng new twelveApp
and the cli complains dying Data path "" must NOT have additional properties (styleext).
I have tried to set the ng-new schema additionalProperties to true but the error remains.
How to get rid of this additional property?
PS: back to @angular/[email protected] everything works quite perfectly.
Sign in to your account Data path "" must NOT have additional properties (skipTests). Angular 12.0.0 #20811 Data path "" must NOT have additional properties (skipTests).
After migrating application from angular 5 to 6, on running ng serve the following errors pop up. Schema validation failed with the following errors: Data path "" should NOT have additional properties (project).
After a successful upgrade, while preparing a build, it gives the following error. Data path "should NOT have additional properties (extracts). Option 1. Just remove the "extractCss": true from your production environment, it will resolve the problem. The reason for it is extractCss is deprecated, and its value is true by default.
Sign in to your account Data path "" must NOT have additional properties (skipTests). Angular 12.0.0 #20811 Data path "" must NOT have additional properties (skipTests). Angular 12.0.0 #20811 Is this a regression?
Try to change
"schematics": {
"@schematics/angular:component": {
"styleext": "scss"
}
},
to
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
In angular.json. Let me know if this works.
Based on the answer to this issue, I edited .angular-config.json
file in my home directory and removed the schematics
section as shown below. Your particular case might require a variation of this solution.
{
"schematics": {
"@schematics/angular:component": {
"styleext": "scss"
}
}
}
styleext
has been renamed to only style
a while ago (see Farhans answer above), so maybe that's your issue
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With