Vue报错:Root file specified for compilation Vetur(1261)
在vue项目中遇到如下错误
module "/Users/lin/Documents/web前端/webpack4-learning/webpack-vue/src/components/IsAsyncDemo.vue"
Already included file name '/Users/lin/Documents/web前端/webpack4-learning/webpack-vue/src/components/IsAsyncDemo.vue' differs from file name '/Users/lin/Documents/web前端/webpack4-learning/webpack-vue/src/components/isAsyncDemo.vue' only in casing.The file is in the program because:Imported via './IsAsyncDemo.vue' from file '/Users/lin/Documents/web前端/webpack4-learning/webpack-vue/src/components/AsyncComponent.vue'Root file specified for compilationRoot file specified for compilationVetur(1261)
一直在说文件名不同,已经包含的文件名
与导入文件名不同
,为编译的根文件出错,换了一个组件就正常,所以尝试下改了文件名
,可以了……
如果还不行,可以尝试下重启vscode,这个问题通常是 vscode 引起的,一般是你很快的重命名了自己的文件。
Vue报错:Root file specified for compilation Vetur(1261)相关推荐
- ubuntu makefile交叉编译报错:file not recognized: file format not recognized
在linux ubuntu上编译netkit-ftp的时候报错:file not recognized: file format not recognized [root@ubuntu /arnold ...
- 【总结】ElasticSearch 安装启动报错max file descriptors [32768] for elasticsearch process is too low, increase
ElasticSearch 安装启动报错max file descriptors [32768] for elasticsearch process is too low, increase to a ...
- centos 7.2执行yum -y install报错Metadata file does not match checksum
分析结论 1,Metadata file does not match checksum报错在于元文件的校验值与元文件不匹配 2,元数据是指 mnt/repodata/436345f4b666f0a4 ...
- adb push报错‘read-only file system‘
使用bat脚本,执行对android设备文件的覆盖 @echo off adb root adb push hosts /etc/ pause adb已经获取到root权限,当尝试替换/etc/hos ...
- Vue报错:Error while running task D:\vue\forum:build with message‘spawn vue-cli-service ENOENT‘
Vue报错:Error while running task D:\vue\vueforum\forum:build with message'spawn vue-cli-service ENOENT ...
- vue 报错unknown custom element解决方法
vue 报错unknown custom element解决方法 参考文章: (1)vue 报错unknown custom element解决方法 (2)https://www.cnblogs.co ...
- vue 报错 Cannot read property ‘__ob__‘ of undefined的解决方法
vue 报错 Cannot read property '__ob__' of undefined的解决方法 参考文章: (1)vue 报错 Cannot read property '__ob__' ...
- Vue报错:Unknown custom element: router-view - did you register the component correctly页面中不显示链接
Vue报错:Unknown custom element: router-view - did you register the component correctly vue-router应用到组件 ...
- Linux下启动启动tomcat 服务器报错 The file is absent or does not have execute permission
为什么80%的码农都做不了架构师?>>> Linux下启动启动tomcat 服务器报错 The file is absent or does not have execute ...
最新文章
- OpenGL学习脚印: 投影矩阵和视口变换矩阵
- 一文详解JavaBean 看这篇就够了
- Xamarin XAML语言教程模板页面TemplatedPage
- sql 2005 解除用户锁定(SA帐户被锁定)
- IpIImage - CvMat 转换方法
- ORA-01180: can not create datafile 1 :解决一例
- 手机1像素线粗_小米1亿像素手机配置全曝光:史上最炫酷呼吸灯!
- 把SAP Analytics Cloud嵌入到SAP Cloud for Customer系统里
- 拆解飞机黑匣子,看看内部构造、PCB及芯片
- 认识队列技术中的硬件队列和软件队列及如何改变硬件队列长度
- 软硬件兼容性问题学习笔记
- SQL Server内部的内存管理
- caffe for Windows下的编译错误
- 微信公众号封面一键生成器
- 揭露SAP培训机构的套路
- STOP:0x0000007E蓝屏软件故障处理一例
- python中输入字符串_python如何输入字符串
- ES6标准入门略读笔记
- 《3D ISP核心技术算法》系列(1)——ToF测量中的多径现象与消除方法
- 时间处理 - Joda