remix-ide npm安装失败!

发布于 2022-09-06 20:54:08 字数 1893 浏览 16 评论 0

git clone https://github.com/ethereum/remix-ide.git
cd remix-ide
npm install

npm install报错


> remix-solidity@0.1.2 postinstall /Users/albert/Desktop/GitHub/remix-ide/node_modules/remix-solidity
> npm-run-all -ls downloadsolc

[downloadsolc] 
[downloadsolc] > remix-solidity@0.1.2 downloadsolc /Users/albert/Desktop/GitHub/remix-ide/node_modules/remix-solidity
[downloadsolc] > cd node_modules/solc && (test -e soljson.js || wget https://ethereum.github.io/solc-bin/soljson.js) && cd ..
[downloadsolc] 
[downloadsolc] sh: wget: command not found
[downloadsolc] npm ERR! file sh
[downloadsolc] npm ERR! code ELIFECYCLE
[downloadsolc] npm ERR! errno ENOENT
[downloadsolc] npm ERR! syscall spawn
[downloadsolc] npm ERR! remix-solidity@0.1.2 downloadsolc: `cd node_modules/solc && (test -e soljson.js || wget https://ethereum.github.io/solc-bin/soljson.js) && cd ..`
[downloadsolc] npm ERR! spawn ENOENT
[downloadsolc] npm ERR! 
[downloadsolc] npm ERR! Failed at the remix-solidity@0.1.2 downloadsolc script.
[downloadsolc] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[downloadsolc] 
[downloadsolc] npm ERR! A complete log of this run can be found in:
[downloadsolc] npm ERR!     /Users/albert/.npm/_logs/2018-03-19T03_31_54_335Z-debug.log
ERROR: "downloadsolc" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! remix-solidity@0.1.2 postinstall: `npm-run-all -ls downloadsolc`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the remix-solidity@0.1.2 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/albert/.npm/_logs/2018-03-19T03_31_56_964Z-debug.log

请问这是什么问题?如何解决?谢谢!!!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文