Second app - error Schema validation failed Data path ".assets[0]" should be object.

See original GitHub issue

Versions

Angular CLI: 6.0.3
Node: 10.1.0
OS: win32 x64
Angular: 6.0.2
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.5.8
@angular-devkit/build-angular      0.5.8
@angular-devkit/build-ng-packagr   0.6.0
@angular-devkit/build-optimizer    0.5.8
@angular-devkit/core               0.5.8
@angular-devkit/schematics         0.6.3
@angular/cli                       6.0.3
@ngtools/json-schema               1.1.0
@ngtools/webpack                   6.0.0-rc.6
@schematics/angular                0.6.3
@schematics/update                 0.6.3
ng-packagr                         3.0.0-rc.3
rxjs                               6.1.0
typescript                         2.7.2
webpack                            4.6.0

Repro steps

I add second app to my existing app with ng g application office --routing

Desired behavior

ng serve office - serving my second app

Observed behavior

image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
kolkovcommented, May 20, 2018

npm rebuild node-sass fixed it for me. Thanks!

0reactions
angular-automatic-lock-bot[bot]commented, Sep 8, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Schema validation failed with the following errors: Data ...
When upgrading Angular from version 8 to 10 I got very similar error, namely Schema validation failed with the following errors: Data path...
Read more >
Schema validation failed with the following errors: Data path ...
When upgrading Angular from version 8 to 10 I got very similar error, namely Schema validation failed with the following errors: Data path...
Read more >
angular/angular-cli - Gitter
Hello, when I run ng build --configuration=staging --output-path dist --output-hashing all --base-href=/ I get this error ERROR in .
Read more >
failed to run Angular application getting error - iTecNote
Schema validation failed with the following errors: Data path ".builders['app-shell']" should have required property 'class'. Error: Schema validation ...
Read more >
Build configuration failed in angular 7 - CodeProject
i think the tags "init", "beta" and "QA" should be inside the "build" tag. Expand ▽. { "$schema": ".
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found