使用NodeJS、和成功安装的Truffle建立我的稳定环境。但是在运行"npm -g install ethereumjs testrpc@beta“时,我遇到了错误。
我第一次在安装了最新NodeJS的Windows 10操作系统上运行所有的东西。我已经尝试在线检查各种类似的错误代码,以及它是如何被解决的,但仍然无法工作。
C:\Users\****>npm -g install ethereumjs-testrpc@beta我希望得到成功的结果,但得到了这个错误代码。
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.发布于 2019-02-18 20:19:46
没有ethereumjs-testrpc的"beta“版本,在”版本“下的软件包的npm页面上可以看到这一点。您可以在它的最新版本中安装该软件包。
npm install -g ethereumjs-testrpc但是testrpc已经被反对,而ganache-cli的工作方式也是一样的。如果您想使用最新的工具,则应该安装最新版本的ganache-cli。
npm install -g ganache-clihttps://ethereum.stackexchange.com/questions/67262
复制相似问题