remix配置本地开发环境

1.安装本地remix编辑器

npm install remix-ide -g

2.在当前目录打开编辑器

remix-ide

3.错误处理

2019 error Error while executing:
2019 error D:\Program Files\Git\cmd\git.EXE ls-remote -h -t git://github.com/frozeman/WebSocket-Node.git
2019 error
2019 error fatal: unable to look up github.com (port 9418) (Ӧ�ó���û�е��� WSAStartup������ WSAStartup ʧ�ܡ� )
2019 error
2019 error exited with error code: 128
2020 verbose exit [ 1, true ]

解决方法:

git config --global url."https://github.com/".insteadOf git@github.com:
git config --global url."https://".insteadOf git://

20335 verbose stack Error: scrypt@6.0.3 install: node-gyp rebuild
20335 verbose stack Exit status 1
20335 verbose stack at EventEmitter. (D:\Softwares\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
20335 verbose stack at EventEmitter.emit (events.js:189:13)
20335 verbose stack at ChildProcess. (D:\Softwares\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
20335 verbose stack at ChildProcess.emit (events.js:189:13)
20335 verbose stack at maybeClose (internal/child_process.js:970:16)
20335 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
20336 verbose pkgid scrypt@6.0.3
20337 verbose cwd C:\Users\jinhua
20338 verbose Windows_NT 10.0.17763
20339 verbose argv “D:\Softwares\nodejs\node.exe” “D:\Softwares\nodejs\node_modules\npm\bin\npm-cli.js” “install” “remix-ide” “-g”
20340 verbose node v10.15.3
20341 verbose npm v6.4.1
20342 error code ELIFECYCLE
20343 error errno 1
20344 error scrypt@6.0.3 install: node-gyp rebuild
20344 error Exit status 1
20345 error Failed at the scrypt@6.0.3 install script.
20345 error This is probably not a problem with npm. There is likely additional logging output above.
20346 verbose exit [ 1, true ]

解决方法:

npm install --global --production windows-build-tools

参考:
https://github.com/ethereum/remix-ide
https://gist.github.com/taoyuan/bfa3ff87e4b5611b5cbe
https://github.com/nodejs/node-gyp

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值