今天在开发一个新项目时,当安装完依赖包启动项目后报了一个这个错

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

谷歌翻译一下:

有多个模块的名称仅在大小写上有所不同。
在具有其他区分大小写的文件系统上编译时,这可能导致意外行为。
使用相等的套管。 比较这些模块标识符

----------------------------------------

这大概意思就是哪里大小写没有写的精确

再仔细看一下报错信息

warning in ./src/modules/screen/views/ArrivalView.vue?vue&type=script&lang=js&

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:
* G:\AsiaInfo\tianjin\iscreen-datav-web\node_modules\babel-loader\lib\index.js?cacheDirectory!G:\AsiaInfo\tianjin\iscreen-datav-web\node_modules\vue-loader\lib\index.js??vue-loader-options!G:\AsiaInfo\tianjin\iscreen-datav-web\src\modules\screen\views\ArrivalView.vue?vue&type=script&lang=js&
Used by 4 module(s), i. e.
G:\AsiaInfo\tianjin\iscreen-datav-web\node_modules\vue-loader\lib\loaders\pitcher.js??ref--4!G:\AsiaInfo\tianjin\iscreen-datav-web\node_modules\babel-loader\lib\index.js?cacheDirectory!G:\AsiaInfo\tianjin\iscreen-datav-web\node_modules\vue-loader\lib\index.js??vue-loader-options!G:\AsiaInfo\tianjin\iscreen-datav-web\src\modules\screen\views\ArrivalView.vue?vue&type=script&lang=js&
* G:\AsiaInfo\tianjin\iscreen-datav-web\node_modules\babel-loader\lib\index.js?cacheDirectory!G:\AsiaInfo\tianjin\iscreen-datav-web\node_modules\vue-loader\lib\index.js??vue-loader-options!G:\AsiaInfo\tianjin\iscreen-datav-web\src\modules\screen\views\arrivalView.vue?vue&type=script&lang=js&
Used by 4 module(s), i. e.
G:\AsiaInfo\tianjin\iscreen-datav-web\node_modules\vue-loader\lib\loaders\pitcher.js??ref--4!G:\AsiaInfo\tianjin\iscreen-datav-web\node_modules\babel-loader\lib\index.js?cacheDirectory!G:\AsiaInfo\tianjin\iscreen-datav-web\node_modules\vue-loader\lib\index.js??vue-loader-options!G:\AsiaInfo\tianjin\iscreen-datav-web\src\modules\screen\views\arrivalView.vue?vue&type=script&lang=js&

初步判断就是ArrivalView.vue这个文件在引用时估计大小写没写好

来全局搜一下↓

果然这里有引用ArrivalView.vue时没有区分大小写

当我将a改成大写后,成功启动好了,good!

vue报错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 mod的更多相关文章

  1. vue报错:There are multiple modules with names that only differ in casing.

    今天写项目时,遇到报错信息如下: 经过多次排除及参考网上文章,最后找到问题所在 排查原因:1 .在引用组件时,路径大小写不对也会造成此报错,看例子:错误写法: 正确写法: 2.在组件使用vuex时,引 ...

  2. vue引入警告: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

    在写vue项目的时候 当我使用 : import dataSource from '../overseaProduct/house/dataSource'; 引入dataSource文件的时候:控制台 ...

  3. 项目警告: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 modul

    记录个自己遇到的问题: 上星期项目刚拉取下来的时候运行没有任何警告,晚上回去vscode提示更新新的东西,当时没管就立即更新了,第二天重启项目直接一大堆警告冒了出来: There are multip ...

  4. 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.

    There are multiple modules with names that only differ in casing.This can lead to unexpected behavio ...

  5. vue项目警告There are multiple modules with names that only differ in casing

    执行npm run dev后出现了警告提示: warning in ./src/components/Public/yearSelectCell.vue There are multiple modu ...

  6. vue中出现 There are multiple modules with names that only differ in casing的问题

    import时,文件引入的路径描述不统一,所以保留一种引入风格即可解决. 第一种,我选择统一用第一种 import GoTop from '@/components/layout/goTop' 第二种 ...

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

    client?4c0e:153 ./src/components/Paginate.vue There are multiple modules with names that only differ ...

  8. Angular中 build的时候遇到的错误--There are multiple modules with names that only differ in casing

    今天早上遇到一个Angular的编译的时候的错误 具体信息: There are multiple modules with names that only differ in casing.This ...

  9. 多个文件名大小写不同,是因为运行代码是大写E,用vscode运行的是小写e,解决方案:手动npm run dev #There are multiple modules with names that only differ in casing.

    多个文件名大小写不同,是因为运行代码是大写E,用vscode运行的是小写e,解决方案:手动npm run dev #There are multiple modules with names that ...

随机推荐

  1. vue学习(四)登陆、注册、首页模板页区分

    按照上面文章配置完毕后,会发现有个问题,我登陆页面.注册页面是不需要视图页的. 开始配置路由 重新配置main.js 引入 import App from './App' //引入vue组件 更改启动 ...

  2. Maven项目pom文件的节点释意

    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/20 ...

  3. Apache httpd.conf配置文件 3(虚拟主机)

    ### Section 3: Virtual Hosts 第三部分 虚拟主机 注意:在使用虚拟主机前,请先检查  http.conf 的 辅助配置文件httpd-vhosts.conf 是否注释 # ...

  4. shell脚本 监控ps 不存在则重启

    监控 tomcat ,如果自动停止了,则重新启动 #!/bin/bash Start=/usr/local/apache-tomcat-8.0.24/bin/startup.sh Url=" ...

  5. Jedis客户端即redis中的pipeline批量操作

    关注公众号:CoderBuff,回复"redis"获取<Redis5.x入门教程>完整版PDF. <Redis5.x入门教程>目录 第一章 · 准备工作 第 ...

  6. 在列表中动态设置元素的id

    <div class="col-6" v-for="(item,i) in showpics" :key="i"> <im ...

  7. Vue使用Clipboard.JS在h5页面中复制内容

    安装clipboard.js github路径:https://github.com/zenorocha/clipboard.js 安装: npm install clipboard --save 引 ...

  8. .NET CORE(C#) WPF 抽屉式菜单

    微信公众号:Dotnet9,网站:Dotnet9,问题或建议:请网站留言, 如果对您有所帮助:欢迎赞赏. .NET CORE(C#) WPF 抽屉式菜单 阅读导航 本文背景 代码实现 本文参考 源码 ...

  9. java 上传文件到七牛云中

    import com.alibaba.fastjson.JSONObject;import com.qiniu.common.QiniuException;import com.qiniu.commo ...

  10. 二次剩余的判定及Cipolla算法

    二次剩余 ppp是奇素数.所有的运算都是在群Zp∗Z_{p}^{*}Zp∗​中的运算.方程x2=a≠0x^2=a \neq 0x2=a̸​=0问是否有解,以及解是什么?若有解,aaa就是模ppp的二次 ...