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?
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: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 thegit
protocol here?