簡體   English   中英

模式驗證失敗,出現以下錯誤@ angular-devkit

[英]Schema validation failed with the following errors @angular-devkit

啟動NgServe時出現以下錯誤。 我已多次清除緩存並更新了NPM。 在安裝NPM時,我沒有任何問題。 使用Angular NGServe命令,我無法繼續進行操作。 請幫助進一步進行,如有任何其他詳細信息,請告知我。

ng serve
Your global Angular CLI version (7.3.9) is greater than your local
version (7.1.4). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".
Schema validation failed with the following errors:
  Data path ".builders['app-shell']" should have required property 'class'.
Error: Schema validation failed with the following errors:
  Data path ".builders['app-shell']" should have required property 'class'.
    at MergeMapSubscriber._registry.compile.pipe.operators_1.concatMap.validatorResult [as project] 
    (C:\workspace\web\space\POC\app-ui\node_modules\@angular\cli\node_modules\@angular-devkit\core\src\workspace\workspace.js:215:42)
    at MergeMapSubscriber._tryNext (C:\workspace\web\space\POC\app-ui\node_modules\rxjs\internal\operators\mergeMap.js:69:27)
    at MergeMapSubscriber._next (C:\workspace\web\space\POC\app-ui\node_modules\rxjs\internal\operators\mergeMap.js:59:18)
    at MergeMapSubscriber.Subscriber.next (C:\workspace\web\space\POC\app-ui\node_modules\rxjs\internal\Subscriber.js:67:18)
    at MergeMapSubscriber.notifyNext (C:\workspace\web\space\POC\app-ui\node_modules\rxjs\internal\operators\mergeMap.js:92:26)
    at InnerSubscriber._next (C:\workspace\web\space\POC\app-ui\node_modules\rxjs\internal\InnerSubscriber.js:28:21)
    at InnerSubscriber.Subscriber.next (C:\workspace\web\space\POC\app-ui\node_modules\rxjs\internal\Subscriber.js:67:18)
    at MapSubscriber._next (C:\workspace\web\space\POC\app-ui\node_modules\rxjs\internal\operators\map.js:55:26)
    at MapSubscriber.Subscriber.next (C:\workspace\web\space\POC\app-ui\node_modules\rxjs\internal\Subscriber.js:67:18)
    at SwitchMapSubscriber.notifyNext (C:\workspace\web\space\POC\app-ui\node_modules\rxjs\internal\operators\switchMap.js:86:26)

ng update @ angular / cli @ angular / core試試這個

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM