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盘符就没问题了。

相关文章
相关标签/搜索