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

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

阅读 6.2k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进