科技美学

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

1. git global url config error

npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t git://github.com/frozeman/WebSocket-Node.git

  It is a wrong git://url.

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

  change to http://

2. fail to install node-scrypt

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! scrypt@6.0.3 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the scrypt@6.0.3 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

  It is not a available version.

npm install github:barrysteyn/node-scrypt#fb60a8d3c158fe115a624b5ffa7480f3a24b03fb

  use this version, then run "npm i web3"

 

posted on 2022-06-17 14:09  chankuang  阅读(58)  评论(0编辑  收藏  举报