ng test測試遇到的Can not load "webpack"!問題
在執行ng test時報錯,Can not load "webpack"!,TypeError: Cannot read property 'plugin' of undefined
24 07 2018 09:49:00.763:ERROR [karma]: Found 1 load error
請老師指點一下,這個問題怎么解決?謝謝
在執行ng test時報錯,Can not load "webpack"!,TypeError: Cannot read property 'plugin' of undefined
24 07 2018 09:49:00.763:ERROR [karma]: Found 1 load error
請老師指點一下,這個問題怎么解決?謝謝
2018-07-24
舉報
2018-11-05
It appears you have a much older version of the CLI (still using the package name?
angular-cli
)You will want to remove that package and install the current version...