首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在Nodejs命令提示符中使用'npm -g install ethereumjs testrpc@beta‘时解决’ethereumjs testrpc@beta‘错误

如何在Nodejs命令提示符中使用'npm -g install ethereumjs testrpc@beta‘时解决’ethereumjs testrpc@beta‘错误
EN

Ethereum用户
提问于 2019-02-18 17:42:27
回答 1查看 169关注 0票数 1

使用NodeJS、和成功安装的Truffle建立我的稳定环境。但是在运行"npm -g install ethereumjs testrpc@beta“时,我遇到了错误。

我第一次在安装了最新NodeJS的Windows 10操作系统上运行所有的东西。我已经尝试在线检查各种类似的错误代码,以及它是如何被解决的,但仍然无法工作。

代码语言:javascript
复制
C:\Users\****>npm -g install ethereumjs-testrpc@beta

我希望得到成功的结果,但得到了这个错误代码。

代码语言:javascript
复制
npm ERR! code ETARGET
npm ERR! notarget No matching version found for ethereumjs-testrpc@beta
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
EN

回答 1

Ethereum用户

回答已采纳

发布于 2019-02-18 20:19:46

没有ethereumjs-testrpc的"beta“版本,在”版本“下的软件包的npm页面上可以看到这一点。您可以在它的最新版本中安装该软件包。

代码语言:javascript
复制
npm install -g ethereumjs-testrpc

但是testrpc已经被反对,而ganache-cli的工作方式也是一样的。如果您想使用最新的工具,则应该安装最新版本的ganache-cli

代码语言:javascript
复制
npm install -g ganache-cli
票数 0
EN
页面原文内容由Ethereum提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://ethereum.stackexchange.com/questions/67262

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档