ng new 'Data path "" should NOT have additional properties(dryRun).'
See original GitHub issueVersions
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?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:26
- Comments:33 (1 by maintainers)
Top Results From Across the Web
Data path "" should NOT have additional properties(dryRun)
This solved my problem when I was seeing Data path "" should NOT have additional properties(es5BrowserSupport) . Upgrading my Angular CLI to v10 ......
Read more >Angular – Data path “” should NOT have additional properties(dryRun)
I installed latest Angular 6.0.4 in MAC, when I enter in terminal: ng new happiness. display: Schematic input does not validate against the...
Read more >angular.json styleext option was replaced with style
When I tried to run the Angular generator to create a new component, ... Data path "" must NOT have additional properties(styleext).
Read more >angular/angular-cli - Gitter
Unfortunately, I receive the error during build my project. The error is Schema validation failed with the following errors: Data path "" should...
Read more >Schema validation failed with the following errors: Data path ...
... for the question Schema validation failed with the following errors: Data path "" must NOT have additional properties(inlineStyleLanguage)-angular.js.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
looks like the issue is with Angular CLI: 6.0.4
downgrade to 6.0.3 and ng new works for me now
npm uninstall -g @angular/cli npm cache verify npm install -g @angular/cli@6.0.3
## but when I run “ng g c header” i get
this just started happening
UPDATE (workaround)
in your package.json look for “@angular/compiler-cli”: “^6.0.2”
this will install the 6.0.4 which was updated today about 2 hours ago and thats where the issues from from.
workaround
change this “@angular/compiler-cli”: “^6.0.2” to this “@angular/compiler-cli”: “6.0.3”
this will force it to use 6.0.3
delete your package-lock.json and the node_moudles folder then run “npm install”
— make sure you are using CLI 6.0.3 ---- the latest is 6.0.4 and it will not work with this
This issue has been addressed in 2 ways…
Apologies for any issues this may have caused.