今天在開發一個新項目時,當安裝完依賴包啟動項目后報了一個這個錯 There are multiple modules with names that only differ in casing.This can lead to unexpected behavior when compiling ...
記錄個自己遇到的問題: 上星期項目剛拉取下來的時候運行沒有任何警告,晚上回去vscode提示更新新的東西,當時沒管就立即更新了,第二天重啟項目直接一大堆警告冒了出來: There are multiple modules with names that only differ in casing.This can lead to unexpected behavior when compiling ...
2018-12-04 17:59 0 2117 推薦指數:
今天在開發一個新項目時,當安裝完依賴包啟動項目后報了一個這個錯 There are multiple modules with names that only differ in casing.This can lead to unexpected behavior when compiling ...
client?4c0e:153 ./src/components/Paginate.vue There are multiple modules with names that only differ in casing. This can lead ...
應該是某個模塊的名稱出現問題 比如a.vue 在引入的時候寫為A.vue 能使用但是會提示 ...
執行npm run dev后出現了警告提示: 問題在於大小寫沒有區分: 在linux下是嚴格區分大小寫,而windows不區分。所以上面問題導致在服務器上打包失敗,而修改過來后就ok啦! ...
vue項目,在引入element-ui樣式時(在react angular項目中也出現此告警) import 'element-ui/lib/theme-chalk/index.css' 報警告: There are multiple modules with names ...
There are multiple modules with names that only differ in casing. ...
今天寫項目時,遇到報錯信息如下: 主要報錯就可以看這條:There are multiple modules with names that only differ in casing.This can lead to unexpected behavior when ...
原因: 一般是改了文件名的大小寫,緩存的判重邏輯是不區分大小寫導致的。 例如,把clotho.vue改名為Clotho.vue,緩存中放的是clotho.vue,改了大小寫后,npm試圖把Clot ...