vue 运行时报错 There are multiple modules with names that only differ in casing.

vue 运行时报错 There are multiple modules with names that only differ in casing.,第1张

There are multiple modules with names that only differ in casing.

出现有时大写, 有时小写的盘符​

* D:\www\ktcargo\node_modules\_css-loader@3.6.0@css-loader\dist\runtime\api.js

    Used by 16 module(s), i. e.

    D:\www\ktcargo\node_modules\_css-loader@3.6.0@css-loader\dist\cjs.js??ref--7-oneOf-3-1!D:\www\ktcargo\node_modules\_postcss-loader@3.0.0@postcss-loader\src\index.js??ref--7-oneOf-3-2!D:\www\ktcargo\node_modules\_element-ui@2.15.8@element-ui\lib\theme-chalk\display.css

* d:\www\ktcargo\node_modules\_css-loader@3.6.0@css-loader\dist\runtime\api.js

    Used by 54 module(s), i. e.

    d:\www\ktcargo\node_modules\_css-loader@3.6.0@css-loader\dist\cjs.js??ref--9-oneOf-3-1!d:\www\ktcargo\node_modules\_postcss-loader@3.0.0@postcss-loader\src\index.js??ref--9-oneOf-3-2!d:\www\ktcargo\node_modules\_sass-loader@10.2.1@sass-loader\dist\cjs.js??ref--9-oneOf-3-3!d:\www\ktcargo\src\styles\vab.scss

后来细想一下, 是自建立的cmd, 入口写在了 d:\www\ktcargo

windows盘符是大小的, 正确写法是D:\www\ktcargo

这种小小地方, 有时很难找!

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/940756.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-17
下一篇 2022-05-17

发表评论

登录后才能评论

评论列表(0条)

保存