开发者社区> 论尽先生> 正文

超大坑!springboot + vue + element-ui,运行前端项目报these dependencies were not found的问题

简介: These dependencies were not found: * babel-runtime/core-js/json/stringify in ./src/mock/modules/sys-menu.
+关注继续查看
These dependencies were not found:

* babel-runtime/core-js/json/stringify in ./src/mock/modules/sys-menu.js, ./src/
router/index.js and 1 other
* babel-runtime/core-js/object/keys in ./src/store/index.js
* babel-runtime/core-js/promise in ./src/utils/httpRequest.js
* babel-runtime/helpers/extends in ./src/router/index.js
* qs in ./src/utils/httpRequest.js
* svg-baker-runtime/browser-symbol in ./src/icons/svg/icon-tixing.svg, ./src/ico
ns/svg/icon-xiangqufill.svg and 29 others

To install them, you can run: npm install --save babel-runtime/core-js/json/stri
ngify babel-runtime/core-js/object/keys babel-runtime/core-js/promise babel-runt
ime/helpers/extends qs svg-baker-runtime/browser-symbol

解决办法:
1、安装cnpm(操作略了)
2、把该项目文件夹下的node_modules彻底删掉,必须彻底!
3、重新cmd-cnpm install-cnpm run dev ,ok! 解决!

答案我搜了很久,感谢其他站点给予提示的巨人们!

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

相关文章
springboot项目运行时报错:HikariPool-1 - Exception during pool initialization.
springboot项目运行时报错:HikariPool-1 - Exception during pool initialization.
17 0
同事被嘲笑后找到多种解决SpringBoot项目编译运行提示“程序包xxx不存在,找不到符号”方案
同事被嘲笑后找到多种解决SpringBoot项目编译运行提示“程序包xxx不存在,找不到符号”方案
50 0
spring boot ---在前端代理服务器后面运行的情况( Running Behind a Front-end Proxy Server)
spring boot ---在前端代理服务器后面运行的情况( Running Behind a Front-end Proxy Server)
76 0
centos7系统运行、停止java程序常用命令,springboot打包运行
centos7系统运行、停止java程序常用命令,springboot打包运行
312 0
【SpringBoot技术专题】「Tomcat技术专区」用正确的姿势如何用外置tomcat配置及运行(Tomcat优化分析)
【SpringBoot技术专题】「Tomcat技术专区」用正确的姿势如何用外置tomcat配置及运行(Tomcat优化分析)
116 0
SpringBoot运行原理
我们之前写的HelloSpringBoot,到底是怎么运行的呢,Maven项目,我们一般从pom.xml文件探究起;
55 0
springboot项目打成war包放入tomcat中运行,原理分析
1.需要将pom.xml文件的packaging设置为war。 2.改成war包之后,就可以直接使用maven的命令将项目打成一个war包了。 3.将这个war包直接放入到tomcat中运行。 4.启
122 0
SpringBoot 如何统计、监控 SQL运行情况?
SpringBoot 如何统计、监控 SQL运行情况?
138 0
CentOs8 Linux安装Jenkins、部署并运行springboot项目(2)
CentOs8 Linux安装Jenkins、部署并运行springboot项目(2)
143 0
CentOs8 Linux安装Jenkins、部署并运行springboot项目(1)
CentOs8 Linux安装Jenkins、部署并运行springboot项目(1)
154 0
+关注
论尽先生
哈哈哈
文章
问答
视频
文章排行榜
最热
最新
相关电子书
更多
前端代码是怎样智能生成的
立即下载
低代码开发师(初级)实战教程
立即下载
阿里巴巴DevOps 最佳实践手册
立即下载
相关实验场景
更多