[英]Getting an error when trying to install Truffle on Windows Powershell
I'm trying to install Truffle by using this command:我正在尝试使用以下命令安装 Truffle:
npm install -g truffle@5.0.2
and I get the following message:我收到以下消息:
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.)
(请注意,API 表面已更改为在 1.x 中使用 Promises。)
I downloaded Node.js v16.13.2 as well.我也下载了 Node.js v16.13.2。 Any clue what the error is all about?
任何线索是什么错误?
Thanks!谢谢!
The message you have posted is a WARN (warning) and not an ERR (error), so there should be no problem with installing truffle in the system.您发布的消息是 WARN(警告)而不是 ERR(错误),因此在系统中安装 truffle 应该没有问题。 I don't have windows rn, so I don't know what is your exact issue but if it is just WARN than there should be no problem installing NPM package.
我没有 windows rn,所以我不知道您的确切问题是什么,但如果只是警告,那么安装 NPM ZEFE90A8E604A7C840E88D03A67F6B7D8 应该没有问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.