亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

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

請老師指點一下,這個問題怎么解決?謝謝

正在回答

1 回答

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...

npm?uninstall?angular-cli?-g
npm?install?@angular/cli?-g


0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消
Angular-cli基礎
  • 參與學習       25219    人
  • 解答問題       55    個

介紹Angular CLI命令使用,通過Angular CLI構建一個簡單的Angular2的應用

進入課程

ng test測試遇到的Can not load "webpack"!問題

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號