remix-ide npm安装失败!
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题已解决!
分享下解决方法:
$ brew install wget
参考:https://stackoverflow.com/questions/48000256/npm-err-installing-npm-packages-to-run-browser-only-solidity-ide-and-runtime-en