There are multiple modules with names that only differ in casing.vue
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic. Use equal casing. Compare these module identifiers:node
運行npm run dev進行npm
vue編譯的時候有警告windows
E:/project/ys_front/~/_vue-loader@10.3.0@vue-loader/lib/component-normalizer.jside
There are multiple modules with names that only differ in casing.component
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic. Use equal casing. Compare these module identifiers:orm
E:\project\ys_front\node_modules_vue-loader@10.3.0@vue-loader\lib\component-normalizer.js Used by 46 module(s), i. e.ip
E:\project\ys_front\node_modules_vux-loader@1.1.2@vux-loader\src\index.js!E:\project\ys_front\node_modules_vue-loader@10.3.0@vue-loader\index.js??ref--0-1!E:\project\ys_front\node_modules_vux@2.5.3@vux\src\components\toast\index.vueget
e:\project\ys_front\node_modules_vue-loader@10.3.0@vue-loader\lib\component-normalizer.js Used by 47 module(s), i. e.cmd
E:\project\ys_front\node_modules_vux-loader@1.1.2@vux-loader\src\index.js!E:\project\ys_front\node_modules_vue-loader@10.3.0@vue-loader\index.js??ref--0-1!e:\project\ys_front\src\App.vue
E:/project/ys_front/~/_vue-style-loader@2.0.5@vue-style-loader/lib/addStylesClient.js
問題緣由:
windows下盤符的大小寫致使的。
我在cmd裏運行的時候,是切換到小寫,改爲大寫的E盤符就沒問題了。