[HMR] bundle has 2 warnings
client.js?ede2:161 ./src/components/Banner.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 module identifiers:
-
D:用户目录我的文档HBuilderProjectvue-bulingwangpulingwangnode_modules.11.3.4@vue-loaderindex.js??ref--0!D:用户目录我的文档HBuilderProjectvue-bulingwangpulingwangsrccomponentsBanner.vue
Used by 6 module(s), i. e. D:\用户目录\我的文档\HBuilderProject\vue-bulingwang\pulingwang\node_modules\.6.4.1@babel-loader\lib\index.js!D:\用户目录\我的文档\HBuilderProject\vue-bulingwang\pulingwang\node_modules\.11.3.4@vue-loader\lib\selector.js?type=script&index=0!D:\用户目录\我的文档\HBuilderProject\vue-bulingwang\pulingwang\src\page\bbs\index.vue
-
D:用户目录我的文档HBuilderProjectvue-bulingwangpulingwangnode_modules.11.3.4@vue-loaderindex.js??ref--0!D:用户目录我的文档HBuilderProjectvue-bulingwangpulingwangsrccomponentsbanner.vue
Used by 1 module(s), i. e. D:\用户目录\我的文档\HBuilderProject\vue-bulingwang\pulingwang\node_modules\.6.4.1@babel-loader\lib\index.js!D:\用户目录\我的文档\HBuilderProject\vue-bulingwang\pulingwang\node_modules\.11.3.4@vue-loader\lib\selector.js?type=script&index=0!D:\用户目录\我的文档\HBuilderProject\vue-bulingwang\pulingwang\src\page\service\serviceDetails.vue
./~/.6.4.1@babel-loader/lib!./~/.11.3.4@vue-loader/lib/selector.js?type=script&index=0!./src/components/Banner.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 module identifiers:
-
D:用户目录我的文档HBuilderProjectvue-bulingwangpulingwangnode_modules.6.4.1@babel-loaderlibindex.js!D:用户目录我的文档HBuilderProjectvue-bulingwangpulingwangnode_modules.11.3.4@vue-loaderlibselector.js?type=script&index=0!D:用户目录我的文档HBuilderProjectvue-bulingwangpulingwangsrccomponentsBanner.vue
Used by 1 module(s), i. e. D:\用户目录\我的文档\HBuilderProject\vue-bulingwang\pulingwang\node_modules\.11.3.4@vue-loader\index.js??ref--0!D:\用户目录\我的文档\HBuilderProject\vue-bulingwang\pulingwang\src\components\Banner.vue
-
D:用户目录我的文档HBuilderProjectvue-bulingwangpulingwangnode_modules.6.4.1@babel-loaderlibindex.js!D:用户目录我的文档HBuilderProjectvue-bulingwangpulingwangnode_modules.11.3.4@vue-loaderlibselector.js?type=script&index=0!D:用户目录我的文档HBuilderProjectvue-bulingwangpulingwangsrccomponentsbanner.vue
Used by 1 module(s), i. e. D:\用户目录\我的文档\HBuilderProject\vue-bulingwang\pulingwang\node_modules\.11.3.4@vue-loader\index.js??ref--0!D:\用户目录\我的文档\HBuilderProject\vue-bulingwang\pulingwang\src\components\banner.vue
我也出了这个问题,也爆了
我排查了一下原因,是因为我写错了一个东西,希望题主能参考一二。
原本我的组件是得这么引的
然而我在单页应用的另外一个页面的一不小心把choosecity写成了chooseCity
然后就出了这个错。
我看到你的报错信息里有bulingwangpulingwangsrccomponentsbanner和bulingwangpulingwangsrccomponentsBanner。大小写的B的区别,所以问题就出在这里