Monday, 22 May 2017

Build issue with Angular4 + Webpack

I was referring this link Angular2+webpack for getting started with angular with Webpack.This project(Webpack set up in Angular2) works perfectly fine. But I also wanted to update my Angular to Angular4. So according to this link Angular4 Update I used below lines of code to update angular4.

npm install @angular/common@latest @angular/compiler@latest @angular/compiler-cli@latest @angular/core@latest @angular/forms@latest @angular/http@latest @angular/platform-browser@latest @angular/platform-browser-dynamic@latest @angular/platform-server@latest @angular/router@latest @angular/animations@latest typescript@latest --save

But then I am getting below build errors.enter image description here

Could someone suggest how to fix this. Any help would be appreciated.



via Bharat Sewani

No comments:

Post a Comment