ng new 'Data path "" should NOT have additional properties(dryRun).'
Versions
Angular CLI: 6.0.4
Node: 9.11.1
OS: win32 x64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.6.4
@angular-devkit/core 0.6.4
@angular-devkit/schematics 0.6.4
@schematics/angular 0.6.4
@schematics/update 0.6.4
rxjs 6.2.0
typescript 2.7.2
Repro steps
ng new <app name>
Observed behavior
ng new vui
Schematic input does not validate against the Schema: {"dryRun":false,"version":"6.0.4","skipGit":false,"skipInstall":false,"linkCli":false,"commit":true,"newProjectRoot":"projects","inlineStyle":false,"inlineTemplate":false,"routing":false,"prefix":"app","style":"css","skipTests":false}
Errors:
Data path "" should NOT have additional properties(dryRun).
Desired behavior
pretty obvious
Mention any other details that might be useful (optional)
Fresh install of the CLI on Windows 10 using Powershell - let me know if this is not supported?
Looks like the new 6.0.5 version fixes, thanks @hansl !
Confirmed this issue is fixed in https://github.com/angular/angular-cli/releases/tag/v6.0.5
"Fixed" as in they re-release 6.0.3 with a version bump.
This issue has been addressed in 2 ways...
- Version 6.0.5 was released, which is the same as version 6.0.3
- A PR was merged to be included in a future release to resolve this issue in the future #11015
Apologies for any issues this may have caused.
I'm having this issue after updating to 6.1.2
ng g application my-app --service-worker --style=scss Schematic input does not validate against the Schema: {"serviceWorker":true,"style":"scss","inlineStyle":false,"inlineTemplate":false,"routing":false,"prefix":"app","skipTests":false,"skipPackageJson":false} Errors:
Data path "" should NOT have additional properties(serviceWorker).
Same. Im having this issue on 6.0.8 trying to add @angular/pwa created an issue here https://github.com/angular/angular-cli/issues/11777
Running into this same issue in v 6.1.2
Angular CLI: 6.1.2 Node: 8.11.2 OS: darwin x64 Angular: 6.1.2 ... animations, cli, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dynamic, router
Package Version
@angular-devkit/architect 0.7.2 @angular-devkit/build-angular 0.7.2 @angular-devkit/build-optimizer 0.7.2 @angular-devkit/build-webpack 0.7.2 @angular-devkit/core 0.7.2 @angular-devkit/schematics 0.7.2 @ngtools/webpack 6.1.2 @schematics/angular 0.7.2 @schematics/update 0.7.2 rxjs 6.2.2 typescript 2.7.2 webpack 4.9.2
The error happens when I run ng generate library in src directory.
@mswilson4040 have you found a fix for this issue? Bumping into the same
Updating the CLI seems to fix the issue. Just run npm install -g @angular/cli
I'm on 6.1.1 and facing the same issue. Edit: Uninstalled @angular/cli, cleared npm cache (cache verify didn't help), and moved to version 6.2.2. Works now.
i have the same issue moved on 6.2.2 (from 6.2.5) but doesn't work (@angular/compiler-cli 6.1.10)
can i add script tag under
"architect": {
"build": {
"options": {
"scripts": ["./node_modules/@angular/cli/lib/config/schema.json"]
}
}
}
for angular library ? like angular application.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.