vue 編譯警告 Compiled with 4 warnings

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/~/_vue-style-loader@2.0.5@vue-style-loader/lib/addStylesClient.js

問題緣由:

windows下盤符的大小寫致使的。

我在cmd裏運行的時候,是切換到小寫,改爲大寫的E盤符就沒問題了。

相關文章
相關標籤/搜索