我尝试启动一个新的Node项目并安装web3库这个错误发生了

编程入门 行业动态 更新时间:2024-10-07 13:20:43

我尝试启动一个新的Node项目<a href=https://www.elefans.com/category/jswz/34/1740251.html style=并安装web3库这个错误发生了"/>

我尝试启动一个新的Node项目并安装web3库这个错误发生了

npm init
之后:

$ npm i web3

npm WARN deprecated [email protected]: This package is broken and no longer maintained. 'mkdirp' itself supports promises now,
please switch to that.
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See /blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see 
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module

added 334 packages, and audited 335 packages in 57s

52 packages are looking for funding
run `npm fund` for details

6 moderate severity vulnerabilities

To address all issues, run:
npm audit fix

Run `npm audit` for details.

==> npm i web3 npm WARN deprecated [email protected]:此包已损坏且不再维护。 'mkdirp' 本身现在支持承诺, 请切换到那个。 npm WARN 已弃用 [email protected]:不再支持此库 npm WARN deprecated [email protected]:此模块已被 multiformats 模块取代 npm WARN deprecated [email protected]:请升级到版本 7 或更高版本。旧版本可能会在某些情况下使用 Math.random(),这是众所周知的问题。有关详细信息,请参阅/blog/math-random。 npm WARN deprecated [email protected]:请求已被弃用,请参阅请求/请求#3142 npm WARN deprecated [email protected]:此模块已被 multiformats 模块取代 npm WARN deprecated [email protected]:此模块已被 multiformats 模块取代 npm WARN deprecated [email protected]:此模块已被多格式模块取代

在 57 秒内添加了 334 个包,并审计了 335 个包

52包正在寻找资金 运行 npm fund 了解详情

6 个中等严重程度的漏洞

要解决所有问题,请运行: npm 审计修复

运行 npm audit 了解详情。 PS D: ields\web\project2>npm audit fix --force 将安装 [email protected],这是一个重大变化 节点模块/请求 服务 * 取决于易受攻击的请求版本 节点模块/服务 以太坊 0.1.24 - 0.1.29 取决于易受攻击的 servify 版本 群-js >=0.1.36 取决于易受攻击的 eth-lib 版本 node_modules/swarm-js web3-bzz * 取决于易受攻击的 swarm-js 版本 node_modules/web3-bzz web3 1.0.0-beta.1 - 3.0.0-rc.0 取决于易受攻击的 web3-bzz 版本 节点模块/web3

6 个中等严重程度的漏洞

要解决所有问题(包括重大更改),请运行: npm 审计修复 --force PS D: ields\web\project2> npm audit fix --force npm WARN 使用 --force 建议的保护已禁用。 npm WARN audit 将 web3 更新到 0.20.7,这是一个 SemVer 重大变化。 错误!代码ENOENT 错误!系统调用生成 git 错误!路径混帐 错误!错误号-4058 错误! enoent 发生未知的 git 错误 错误! enoent 这与 npm 无法找到文件有关。 错误!恩恩

我预计该项目将正确启动,但当我尝试卸载时出现错误。

回答如下:

更多推荐

我尝试启动一个新的Node项目并安装web3库这个错误发生了

本文发布于:2024-05-30 09:45:28,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1770362.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:并安装   发生了   错误   项目   Node

发布评论

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

>www.elefans.com

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