Thursday, April 16, 2020

TypeError: Cannot read property 'kind' of undefined - Angular 8

Solution next error Angular 8:

ERROR in ./node_modules/ng-multiselect-dropdown/fesm5/ng-multiselect-dropdown.js
Module build failed (from ./node_modules/@angular-devkit/build-optimizer/src/build-optimizer/webpack-loader.js):     
TypeError: Cannot read property 'kind' of undefined


Change the version angular-devkit with next command:

npm install @angular-devkit/build-angular@0.803.20


check your package.json




And try again.

ng build --prod /











References:
https://github.com/ckeditor/ckeditor4-angular/issues/78






No comments:

Post a Comment

Event-Driven Architecture on GCP with Pub/Sub & Spring Boot

Event‑Driven Architecture (EDA) decouples producers from consumers using an event broker. You get independent scaling, resilience, and faste...