Angular cli after update npm start give error

前端 未结 4 1682
执笔经年
执笔经年 2021-02-13 05:08

I create application using angular cli and use backend proxy to handle backend and using polymer(vaadin) it work correctly until I update to angular cli 1.0.0-beta.22 it give Er

4条回答
  •  情话喂你
    2021-02-13 05:27

    This is caused by Angular CLI latest update. In the latest update, webpack searches for boostrap Module in main.ts top level. In main-polymer.ts, main.ts is wrapped by addEventListener so webpack can't find the bootstrap module that's why it reports an error.

    Further reference github.com/angular/angular-cli/issues/2887

提交回复
热议问题