简体   繁体   English

尝试在 Windows Powershell 上安装 Truffle 时出错

[英]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.

相关问题 在 windows 上安装 TRUFFLE 时出错 - Getting a error when installing TRUFFLE on windows 尝试在松露快递盒中使用智能合约写入数据时出现无效地址错误 - Getting an Invalid Address error when trying to write data with smart contract in truffle express box 我在 windows 上安装 Truffle 时出错。有谁知道如何解决这个问题 - I am getting an error while installing Truffle on windows. Does anyone know how to fix this 运行松露init命令时出现错误 - Getting an error while running truffle init command 尝试使用松露合同从节点js部署合同时出现错误 - Getting Error when try to deploy contract from node js using truffle-contract 无法使用 Truffle 控制台运行智能合约。 获取错误 - Unable to run the smartContract using Truffle Console. Getting error 区块链松露迁移错误 - Blockchain truffle Migration Error 带有“It”语句的松露测试错误 - an error in truffle test with "It" statement Rospten Infura 上的松露迁移错误 - Truffle migration error on Rospten Infura 我在松露中遇到错误,但在在线编译器(混音)中,此关键字和 selfdestruct 函数中没有显示任何错误 - i am getting the error in truffle but in online compiler(remix)there is not showing any error in this keyword and selfdestruct function
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM