简体   繁体   English

松露安装(警告已弃用)

[英]Truffle Install (WARN deprecated)

`manuelfiestas@Manuels-MBP node_modules % npm install -g truffle npm WARN deprecated mkdirp-promise@5.0.1: This package is broken and no longer maintained. `manuelfiestas@Manuels-MBP node_modules % npm install -g truffle npm WARN deprecated mkdirp-promise@5.0.1: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that. 'mkdirp' 本身现在支持 Promise,请切换到它。 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 fsevents@2.1.3: "Please update to latest v2.3 or v2.2" npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated circular-json@0.5.9: CircularJSON is in maintenance only, flatted is its successor. 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 fsevents@2.1.3: "Please update to latest v2.3 or v2.2" npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated circular-json@0.5.9: CircularJSON 仅在维护中,flatted 是它的继任者。 npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || npm WARN deprecated debug@4.1.1: 调试版本 >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. >=4 <4.3.1 在 Node.js 环境中使用时具有低严重性 ReDos 回归。 It is recommended you upgrade to 3.2.7 or 4.3.1.建议您升级到 3.2.7 或 4.3.1。 ( https://github.com/visionmedia/debug/issues/797 ) npm WARN deprecated remotedev-serialize@0.1.9: Package moved to @redux-devtools/serialize. https://github.com/visionmedia/debug/issues/797 ) npm WARN 已弃用 remotedev-serialize@0.1.9:Z209802FB858E2C83205027DBBB5dev 移至@EuxDBB5。 npm WARN deprecated redux-devtools-instrument@1.10.0: Package moved to @redux-devtools/instrument. npm WARN 已弃用 redux-devtools-instrument@1.10.0:Package 已移至 @redux-devtools/instrument。 npm WARN deprecated redux-devtools-core@0.2.1: Package moved to @redux-devtools/app. npm WARN 已弃用 redux-devtools-core@0.2.1:Package 已移至 @redux-devtools/app。 npm WARN deprecated ethereumjs-tx@2.1.2: New package name format for new versions: @ethereumjs/tx. npm WARN 已弃用 ethereumjs-tx@2.1.2:新版本的新 package 名称格式:@ethereumjs/tx。 Please update.请更新。 npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. npm WARN 已弃用 mkdirp@0.5.1:不再支持旧版本的 mkdirp。 Please update to mkdirp 1.x.请更新到 mkdirp 1.x。 (Note that the API surface has changed to use Promises in 1.x.) npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated multicodec@0.5.7: stable api reached npm WARN deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future npm WARN deprecated axios@0.20.0: Critical security vulnerability fixed in v0.21.1. (Note that the API surface has changed to use Promises in 1.x.) npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated multicodec@0.5.7: stable api reached npm WARN deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @ mapbox 范围内的 package 将在未来收到更新 npm 警告已弃用 axios@0.20.0:在 v0.21.1 中修复了严重的安全漏洞。 For more information, see https://github.com/axios/axios/pull/3410 npm WARN deprecated ethereumjs-common@1.5.2: New package name format for new versions: @ethereumjs/common. For more information, see https://github.com/axios/axios/pull/3410 npm WARN deprecated ethereumjs-common@1.5.2: New package name format for new versions: @ethereumjs/common. Please update.请更新。 npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. npm WARN deprecated core-js@2.6.12: core-js@<3.3 不再维护,由于问题数量不推荐使用。 Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled.由于 V8 引擎的奇思妙想,旧 core-js 版本中的功能检测可能会导致速度下降高达 100 倍,即使没有填充任何内容。 Please, upgrade your dependencies to the actual version of core-js.请将您的依赖项升级到 core-js 的实际版本。

added 1713 packages, and audited 1714 packages in 1m新增1713个包,1m审核1714个包

96 packages are looking for funding run npm fund for details 96包正在寻找资金跑npm fund详情

53 vulnerabilities (16 low, 8 moderate, 29 high) 53 个漏洞(16 个低、8 个中等、29 个高)

To address all issues, run: npm audit fix要解决所有问题,请运行:npm 审计修复

Run npm audit for details.运行npm audit以获取详细信息。 manuelfiestas@Manuels-MBP node_modules %` manuelfiestas@Manuels-MBP node_modules %`

delete all files you have in your filesystem from old failed installations and try again从旧的失败安装中删除文件系统中的所有文件,然后重试

The answer below stands for a manual installation, but there is a much simpler way: the automatic install.下面的答案代表手动安装,但有一种更简单的方法:自动安装。

Open Powershell as admin and run npm install -g windows-build-tools以管理员身份打开 Powershell 并运行npm install -g windows-build-tools

The install takes time but it worked.安装需要时间,但它有效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM