1

I'm trying to run npm start for angular 5 and I get the following error

TypeError: callbacks[i] is not a function

Does anyone know where this comes from? It just appeared out of nowhere... There seems nothing to be wrong with my project (code)

baj9032
  • 2,414
  • 3
  • 22
  • 40
EugenSunic
  • 13,162
  • 13
  • 64
  • 86

1 Answers1

2

Temporary fix:

Rollback the bugged dependency.

npm install copy-webpack-plugin@4.3.0

More info here https://github.com/angular/angular-cli/issues/9550

Ploppy
  • 14,810
  • 6
  • 41
  • 58