vue常见报错
ERROR Error: vue-loader requires @vue/compiler-sfc to be present in the dependency tree.

解决办法

npm i -D vue-loader@14

如果还是报错执行
rm -rf node_modules
rm package-lock.json
npm cache clear --force
npm install

Error: vue-loader requires @vue/compiler-sfc to be相关推荐

  1. Error: @vitejs/plugin-vue requires vue (>=3.2.13) or @vue/compiler-sfc to be present in the dependen

    1.没有下载安装axios运行依赖 2.或者缺少这个库没有安装 npm i @vue/compiler-sfc 3.node版本充不冲突

  2. caffe error: #error This file requires compiler and library support for the ISO C++ 2011 standard

    error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This su ...

  3. OpenCV3.4.5带GPU编译error: #error This file requires compiler and library support for the ISO C++ 2011

    error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This su ...

  4. Qt 解决 #error This file requires compiler and library support for the ISO C++ 2011 standard

    一.Qt编译过程中,出现以下问题 #error This file requires compiler and library support for the ISO C++ 2011 standar ...

  5. error: #error This file requires compiler and library support for the ISO C++ 2011 standard.

    error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This su ...

  6. VUE报错You are using the runtime-only build of Vue where the template compiler is not available

    问题背景 今天在入门vue-route但是发现怎么处理都有以下报错,并且参考了网上大多数解决方法都不行,最后找到一个最终的解决方法,这才搞定,但愿可以帮到每个路过的入门者. 报错信息 [Vue war ...

  7. vue.js:597 [Vue warn]: Error in callback for watcher dat: TypeError: Cannot read property 'call'

    vue.js:597 [Vue warn]: Error in callback for watcher "dat": "TypeError: Cannot read p ...

  8. Uncaught Error: [vuex] must call Vue.use(Vuex) before creating a store instance解决

    文章目录 Uncaught Error: [vuex] must call Vue.use(Vuex) before creating a store instance解决 解决办法 详细解释一下 附 ...

  9. Command vue init requires a global addon to be installed

    vue 3.0 使用 vue-cli 4.0 创建webpack项目时出现 创建命令vue init webpack hello-vue-webpack Command vue init requir ...

最新文章

  1. CVPR 2022|从原理和代码详解FAIR的惊艳之作:全新的纯卷积模型ConvNeXt
  2. scrcpy设置快捷键_电脑端scrcpy控制Android手机
  3. php根据指定字段去重,php二维数组根据某个字段去重
  4. linux源码下载阿帕奇,Ubuntu 12.04下源码安装Apache
  5. BlackBerry 应用程序开发者指南 第一卷:基础--第9章 IT策略(Policy)
  6. IP/TCP IP分组的交付与转发
  7. 挂服务器刷屏微信,谁知道微信群刷屏代码啊,跪求
  8. 人证合一验证目前逐渐普及大众
  9. 手机黑圆点怎么打_两个字中间的圆点怎么打?黑色圆点符号怎么打出来?
  10. 什么是rich text,富文本?富文本有什么优势?
  11. 2567 HDU 寻梦
  12. 好书推荐,电子人的入门好书
  13. 常用MOSFET管型号
  14. 获得用户输入一个整数N,计算并输出N的32次方:
  15. 一位沪漂 11 年的程序员老兵,回老家了!
  16. ctfshow每周挑战-极限命令执行
  17. java全栈系列之JavaSE-稀释数组029
  18. “兼并”还是“合作” 宏碁方正各怀鬼胎
  19. 【手游】《少年三国志》完整修复全功能版-带GM后台和详细图文教程 亲测可编译运行
  20. 你给我的感悟,我读懂了文字

热门文章

  1. 基于MATLAB的面向对象编程(4)——类文件
  2. 文巾解题 1837. K 进制表示下的各位数字总和
  3. 从C语言的角度重构数据结构系列(二)-如何衡量一个算法的优劣?
  4. python中的_doc_是什么
  5. 基于Matlab的标记分水岭分割算法(imreconstruct)
  6. Linux查看utmp文件,linuxc操作utmp和wtmp文件接口
  7. 什么是document对象?如何获取文档对象上的元素?_javascript自学记录:Document类型...
  8. 今日话题:坚持真的有用吗?
  9. CNN浅析和历年ImageNet冠军模型解析
  10. AOP的实现机制--转