trufflesuite / drizzle-legacy

Reactive Ethereum datastore for dapp UIs.
http://truffleframework.com/docs/drizzle/getting-started
MIT License
502 stars 129 forks source link

npm install with app directory fails for Drizzle #214

Closed zroper closed 5 years ago

zroper commented 5 years ago

Cross-posted from https://github.com/truffle-box/drizzle-box/issues/80

I installed drizzle using truffle unbox drizzle and the process completes successfully. I then try npm install within the app directory but the process fails due to an unreachable devDependency module within Drizzle. The Webpack -- > Websocket-Node can't be reached on github. Perhaps this is a temporary issue, but maybe the dependency could be marked optional, as I don't think websocket-node is needed.

npm ERR! Error while executing: npm ERR! /usr/local/cpanel/3rdparty/lib/path-bin/git ls-remote -h -t git://github.com/frozeman/WebSocket-Node.git npm ERR! npm ERR! fatal: unable to connect to github.com: npm ERR! github.com[0: 192.30.255.113]: errno=Connection refused npm ERR! github.com[1: 192.30.255.112]: errno=Connection refused npm ERR! npm ERR! npm ERR! exited with error code: 128

zroper commented 5 years ago

Turns out it had to do with using the git:// protocol rather the the https:// I just had to enter this command on centos7 git config --global url.https://github.com/.insteadOf git://github.com/