Failed to compile../src/views/sagc/component/EchartLine.vue?vue&type=script&lang=js& (./

编程知识 更新时间:2023-05-02 21:16:58

问题产生:

项目拉取运行后提示如下。

Failed to compile.

./src/views/sagc/component/EchartLine.vue?vue&type=script&lang=js& (./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/sagc/component/EchartLine.vue?vue&type=script&lang=js&) Module not found: Error: Can't resolve 'echarts' in 'F:\hql-job\ibp2.fe\subapp-webgl\src\views\sagc\component'

错误原因:

找不到echarts模块。

解决:

npm install重新安装依赖,注意:安装依赖时一定在当前目录下安装。

更多推荐

Failed to compile../src/views/sagc/component/EchartLine.vue?vue&type=script&

本文发布于:2023-04-28 17:19:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/64dfa29fa4a5ba14290165cefb4624c0.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:sagc   component   EchartLine   views   Failed

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!

  • 109293文章数
  • 27730阅读数
  • 0评论数