错误原因

一般原因就是路径名 的大小写没有统一,因为 windows 下 路径不区分大小写, 但是 其他系统 可能就区分了,那么就会报错了。

错误现象

There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* D:\xiangwei\trunk\park_manage\node_modules\vue-loader\index.js??ref--0!D:\xiangwei\trunk\park_manage\src\components\widgets\MultiCheckBox.vue
    Used by 2 module(s), i. e.
    D:\xiangwei\trunk\park_manage\node_modules\babel-loader\lib\index.js!D:\xiangwei\trunk\park_manage\node_modules\vue-loader\lib\selector.js?type=script&index=0!D:\xiangwei\trunk\park_manage\src\pages\app\ReportManage\ParkChargeDtl\index.vue
* D:\xiangwei\trunk\park_manage\node_modules\vue-loader\index.js??ref--0!D:\xiangwei\trunk\park_manage\src\components\widgets\MultiCheckbox.vue
    Used by 1 module(s), i. e.
    D:\xiangwei\trunk\park_manage\node_modules\babel-loader\lib\index.js!D:\xiangwei\trunk\park_manage\node_modules\vue-loader\lib\selector.js?type=script&index=0!D:\xiangwei\trunk\park_manage\src\pages\app\LongternManage\LTRecords\index.vue

vue 项目报错 There are multiple modules with names that only differ in casing.

相关文章:

  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-02
  • 2022-12-23
  • 2021-10-09
  • 2022-12-23
  • 2021-10-08
相关资源
相似解决方案