zoukankan      html  css  js  c++  java
  • 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

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

    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 ianjiniscreen-datav-web ode_modulesabel-loaderlibindex.js?cacheDirectory!G:AsiaInfo ianjiniscreen-datav-web ode_modulesvue-loaderlibindex.js??vue-loader-options!G:AsiaInfo ianjiniscreen-datav-websrcmodulesscreenviewsArrivalView.vue?vue&type=script&lang=js&
    Used by 4 module(s), i. e.
    G:AsiaInfo ianjiniscreen-datav-web ode_modulesvue-loaderlibloaderspitcher.js??ref--4!G:AsiaInfo ianjiniscreen-datav-web ode_modulesabel-loaderlibindex.js?cacheDirectory!G:AsiaInfo ianjiniscreen-datav-web ode_modulesvue-loaderlibindex.js??vue-loader-options!G:AsiaInfo ianjiniscreen-datav-websrcmodulesscreenviewsArrivalView.vue?vue&type=script&lang=js&
    * G:AsiaInfo ianjiniscreen-datav-web ode_modulesabel-loaderlibindex.js?cacheDirectory!G:AsiaInfo ianjiniscreen-datav-web ode_modulesvue-loaderlibindex.js??vue-loader-options!G:AsiaInfo ianjiniscreen-datav-websrcmodulesscreenviewsarrivalView.vue?vue&type=script&lang=js&
    Used by 4 module(s), i. e.
    G:AsiaInfo ianjiniscreen-datav-web ode_modulesvue-loaderlibloaderspitcher.js??ref--4!G:AsiaInfo ianjiniscreen-datav-web ode_modulesabel-loaderlibindex.js?cacheDirectory!G:AsiaInfo ianjiniscreen-datav-web ode_modulesvue-loaderlibindex.js??vue-loader-options!G:AsiaInfo ianjiniscreen-datav-websrcmodulesscreenviewsarrivalView.vue?vue&type=script&lang=js&

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

    来全局搜一下↓

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

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

  • 相关阅读:
    1022. D进制的A+B (20)
    1032. 挖掘机技术哪家强(20)
    1001. 害死人不偿命的(3n+1)猜想 (15)
    结构-06. 复数四则运算(15)
    结构-05. 有理数均值(20)
    结构-04. 通讯录的录入与显示(10)
    结构-03. 平面向量加法(10)
    软考错题合集之13-05-AM
    软考笔记第八天之法律发规与标准化知识
    软考笔记第七天之程序设计语言与语言处理程序基础
  • 原文地址:https://www.cnblogs.com/bobo1/p/11712128.html
Copyright © 2011-2022 走看看