npm run dev遇到的问题
2021/4/8 10:08:54
本文主要是介绍npm run dev遇到的问题,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
提示缺少了哪些包
These relative modules were not found: * ../legacy/getTextRect in ./node_modules/echarts/lib/util/format.js * ./Point in ./node_modules/zrender/lib/core/BoundingRect.js .......
然后npm install之后,显示安装失败了
npm WARN eslint-loader@2.2.1 requires a peer of eslint@>=1.6.0 <7.0.0 but none is installed. You must install peer dependencies yourself. npm WARN shulong@3.4.0 No repository field. audited 1586 packages in 17.142s 90 packages are looking for funding run `npm fund` for details found 3 vulnerabilities (1 low, 2 high) run `npm audit fix` to fix them, or `npm audit` for details
然后强制安装echarts的版本npm install echarts@5.0.2
这时候又提示缺少了包zrender
再次npm install zrender -S 保存到package.json中
最后npm run dev 启动成功
这篇关于npm run dev遇到的问题的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-05-15鸿蒙生态设备数量超8亿台
- 2024-05-13TiDB + ES:转转业财系统亿级数据存储优化实践
- 2024-05-09“2024鸿蒙零基础快速实战-仿抖音App开发(ArkTS版)”实战课程已上线
- 2024-05-09聊聊如何通过arthas-tunnel-server来远程管理所有需要arthas监控的应用
- 2024-05-09log4j2这么配就对了
- 2024-05-09nginx修改Content-Type
- 2024-05-09Redis多数据源,看这篇就够了
- 2024-05-09Google Chrome驱动程序 124.0.6367.62(正式版本)去哪下载?
- 2024-05-09有没有大佬知道这种数据应该怎么抓取呀?
- 2024-05-09这种运行结果里的10.100000001,怎么能最快改成10.1?