janoside / btc-rpc-explorer

Database-free, self-hosted Bitcoin explorer, via RPC to Bitcoin Core.
https://bitcoinexplorer.org
MIT License
1.52k stars 1.14k forks source link

package.json: git@github.com/chaintools/node-electrum-client #137

Open Furunodo opened 5 years ago

Furunodo commented 5 years ago

I'm building some ansible scripts to set up headless full node box. btc-rpc-explorer looks like a great addition.

When trying npm install -g btc-rpc-explorer I'm getting this error though:

npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/chaintools/node-electrum-client.git
npm ERR!
npm ERR! fatal: cannot come back to cwd: Permission denied
npm ERR!
npm ERR! exited with error code: 128

I don't get this error when I run it as a user that has an ssh key set up to access github. I do get this error with a user that doesn't have such a key (which is mostly the case when setting up a box thru ansible).

Can it be that this line in package.json is causing the problem? And that it may be resolved by using https instead of the git protocol here?

Thrower1978 commented 1 year ago

.j