搭建jeecg-boot时遇到的问题:npm install报错、webstorm找不到npm窗口、admin无法登陆

本文介绍了在搭建jeecg-boot项目过程中遇到的三个问题:执行npm install时出现warn,webstorm找不到npm窗口启动项目,以及admin用户无法登录。针对npm安装警告,尝试了多种解决方案,项目虽能启动但问题未完全解决。对于webstorm,通过找到并执行package.json的npm脚本解决了启动问题。admin登录失败的解决办法包括调整权限设置或确保新建菜单配置完整。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

问题一:执行npm install时报warn

用webstorm导入jeecg-boot项目之后,运行npm install命令时报警如下,启动项目时报can not find node 8.*之类的错误。

D:\jeecgs\jeecg_boot\jeecg-boot-master\jeecg-boot-master\ant-design-jeecg-vue>npm install
npm WARN @ant-design/icons-vue@1.0.1 requires a peer of @ant-design/icons@~1.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN acorn-dynamic-import@4.0.0 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

随后主要搜索了but none is installed. You must install peer dependencies yourself这句代码的解决方式。

主要有以下方案:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值