求助人:米粉
其他类型
2023年11月02日 17点18分

vue项目下载依赖报错

以下是npm i输出的错误npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'pkcs7@0.2.3',
npm WARN EBADENGINE   required: { npm: '^1.4.6', node: '^0.10' },
npm WARN EBADENGINE   current: { node: 'v18.16.0', npm: '9.5.1' }
npm WARN EBADENGINE }
npm WARN deprecated natives@1.1.6: This module relies on Node.js's internals and will break at some point. Do not use it, and update to graceful-fs@4.x. 
npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table 
on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated tsml@1.0.1: no longer maintained
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash.
npm WARN deprecated eslint-loader@1.9.0: This loader has been deprecated. Please use eslint-webpack-plugin
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated acorn-dynamic-import@2.0.2: This is probably built in to whatever tool you're using. If you still need it... idk
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies

npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive secur


点击查看

关键字: vue
  • 悬赏了: 帮帮币 20 枚
  • 半糖人类 处理中……
  • 学习中遇到的问题, 需要保密允许公共编辑
  • 演示/调试环境:分享桌面
  • 期望完成时间: 2023年11月03日 18点10分
协助进程

已支付
2023年11月02日 17点21分 邀请了帮主半糖人类
2023年11月02日 17点27分 帮主半糖人类接受了邀请,接头暗号已发送
2023年11月02日 18点24分 协助由帮主半糖人类成功完成
2023年11月03日 09点17分 做出评价,并将悬赏支付给帮主半糖人类
求助人评价:
厉害的半糖帮主!
解决方案
2023年11月02日 18点29分
作者 半糖人类

因为项目比较老,需要低版本的node环境,切换至14版本的node成功启动了。

PS:推荐方便的node版本管理工具

1. macos/linux:n https://github.com/tj/n

2. windows: nvm https://github.com/nvm-sh/nvm

    windows版本有别人打包好的安装包,https://github.com/coreybutler/nvm-windows/releases

0 0 演示用,功能实现中……
上一个 下一个
@TA
回复
11月20日 16点35分 FlorentinoJink
摸鱼
@TA
回复
11月20日 17点59分 寒夜郎君
@TA回复 这句话留个蓝色@就行了,别整太复杂
@TA
回复
11月20日 18点00分 寒夜郎君
或者弄个图标
@TA
回复
11月20日 18点12分 半糖人类
飞哥这个聊天加个分页吧,如果请求last=1,就会一下请求全部的页面数据,对服务器压力有点大
@TA
回复
11月20日 19点49分 叶飞
分了页的
@TA
回复
11月22日 09点52分 nottyjay
111
@TA
回复
11月22日 09点54分 叶飞
咦?
@TA
回复
11月22日 09点54分 叶飞
又一个bug,回复功能失效
@TA
回复
11月22日 10点16分 小薇
太棒了,能和大佬们在线交流了
@TA
回复
11月22日 10点21分 小薇
飞哥能不能将这个在线聊天用WebSocket协议改一下,直接服务端推送消息,不用客户端主动请求

有新消息,知道了