Angular CLI gives me “TypeError: callbacks[i] is not a function” when I “ng serve”

前端 未结 12 1374
旧时难觅i
旧时难觅i 2020-12-08 02:26

I literally just made a fresh installation of the Angular CLI in order to try it out and I don\'t have a clue on what\'s causing the following error on the command line:

12条回答
  •  Happy的楠姐
    2020-12-08 02:43

    As stated here https://github.com/angular/angular-cli/issues/9550 it's a problem with copy-webpack-plugin.

    It can be solved by doing npm install copy-webpack-plugin@4.3.0

提交回复
热议问题