Lorsque je commence à exécuter mon application, j'obtiens cette erreur:
**[error] Error: Job name "..getProjectMetadata" does not exist.**
at Observable._subscribe (/Users/vasil/KSS/kssfrontend/node_modules/@angular-devkit/core/src/experimental/jobs/simple-scheduler.js:350:23)
at Observable._trySubscribe (/Users/vasil/KSS/kssfrontend/node_modules/@angular-devkit/core/node_modules/rxjs/internal/Observable.js:44:25)
at Observable.subscribe (/Users/vasil/KSS/kssfrontend/node_modules/@angular-devkit/core/node_modules/rxjs/internal/Observable.js:30:22)
at /Users/vasil/KSS/kssfrontend/node_modules/@angular-devkit/core/node_modules/rxjs/internal/util/subscribeTo.js:22:31
at Object.subscribeToResult (/Users/vasil/KSS/kssfrontend/node_modules/@angular-devkit/core/node_modules/rxjs/internal/util/subscribeToResult.js:10:45)
at SwitchMapSubscriber._innerSub (/Users/vasil/KSS/kssfrontend/node_modules/@angular-devkit/core/node_modules/rxjs/internal/operators/switchMap.js:65:54)
at SwitchMapSubscriber._next (/Users/vasil/KSS/kssfrontend/node_modules/@angular-devkit/core/node_modules/rxjs/internal/operators/switchMap.js:55:14)
at SwitchMapSubscriber.Subscriber.next (/Users/vasil/KSS/kssfrontend/node_modules/@angular-devkit/core/node_modules/rxjs/internal/Subscriber.js:66:18)
at SwitchMapSubscriber.notifyNext (/Users/vasil/KSS/kssfrontend/node_modules/@angular-devkit/core/node_modules/rxjs/internal/operators/switchMap.js:86:26)
at InnerSubscriber._next (/Users/vasil/KSS/kssfrontend/node_modules/@angular-devkit/core/node_modules/rxjs/internal/InnerSubscriber.js:28:21)
at InnerSubscriber.Subscriber.next (/Users/vasil/KSS/kssfrontend/node_modules/@angular-devkit/core/node_modules/rxjs/internal/Subscriber.js:66:18)
at /Users/vasil/KSS/kssfrontend/node_modules/@angular-devkit/core/node_modules/rxjs/internal/util/subscribeTo.js:17:28
at Object.subscribeToResult (/Users/vasil/KSS/kssfrontend/node_modules/@angular-devkit/core/node_modules/rxjs/internal/util/subscribeToResult.js:10:45)
at SwitchMapSubscriber._innerSub (/Users/vasil/KSS/kssfrontend/node_modules/@angular-devkit/core/node_modules/rxjs/internal/operators/switchMap.js:65:54)
at SwitchMapSubscriber._next (/Users/vasil/KSS/kssfrontend/node_modules/@angular-devkit/core/node_modules/rxjs/internal/operators/switchMap.js:55:14)
at SwitchMapSubscriber.Subscriber.next (/Users/vasil/KSS/kssfrontend/node_modules/@angular-devkit/core/node_modules/rxjs/internal/Subscriber.js:66:18)
J'ai ces versions: Angular CLI: 8.3.19
, Node: 12.14.0
.
Une idée de ce qui cause ce problème?
Il suffit de mettre à jour ou de rétrograder angulardevkit pour que ng serve work npm i @ angular-devkit/build-angular @ 0.803.24 si cela ne fonctionne pas, mettez à jour @ angular-devkit/build-angular version.
Passer à npm i @ angular-devkit/build-angular @ 0.803.24 cette version m'a aidé!
J'installais ngx-quill et faisais face au même problème. assurez-vous de vérifier les versions prises en charge.
Par exemple - Si vous utilisez Angular 8, assurez-vous que vous installez la version prise en charge. Dans le cas de ngx-quill, ce sera npm install ngx-quill @ 5.2.
J'ai mis à niveau mon projet ng8 vers ng9 avec
ncu -u
Essayez la version build-angular 0.803.24 en utilisant la commande: npm i @ angular-devkit/build-angular @ 0.803.24
ng update @ angular/cli @ angular/core - n'a pas fonctionné pour moi; ng est introuvable
Je suis nouveau sur Angular mais j'ai essayé
mise à jour npm @ angular/cli @ angular/core
npm start
Il fonctionne maintenant