Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when install bttc-cli #8

Closed
daniel-tron opened this issue Jan 8, 2022 · 2 comments
Closed

Error when install bttc-cli #8

daniel-tron opened this issue Jan 8, 2022 · 2 comments

Comments

@daniel-tron
Copy link

daniel-tron commented Jan 8, 2022

Can't install if doesn't setup a GitHub account with ssh key, i do have GitHub account, but doesn't make sense copy my private key to the server which deploy BTTC node.

Ubuntu 20.04
npm install -g @bttcnetwork/bttc-cli
npm notice
npm notice New minor version of npm available! 8.1.2 -> 8.3.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.3.0
npm notice Run npm install -g [email protected] to update!
npm notice
npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/atvanguard/moonwalker.git
npm ERR! Warning: Permanently added 'github.com,140.82.112.3' (ECDSA) to the list of known hosts.
npm ERR! [email protected]: Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-01-08T09_50_31_873Z-debug.log

@eodiandie
Copy link

Can't install if doesn't setup a GitHub account with ssh key, i do have GitHub account, but doesn't make sense copy my private key to the server which deploy BTTC node.

Ubuntu 20.04 npm install -g @bttcnetwork/bttc-cli npm notice npm notice New minor version of npm available! 8.1.2 -> 8.3.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.3.0 npm notice Run npm install -g [email protected] to update! npm notice npm ERR! code 128 npm ERR! An unknown git error occurred npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/atvanguard/moonwalker.git npm ERR! Warning: Permanently added 'github.com,140.82.112.3' (ECDSA) to the list of known hosts. npm ERR! [email protected]: Permission denied (publickey). npm ERR! fatal: Could not read from remote repository. npm ERR! npm ERR! Please make sure you have the correct access rights npm ERR! and the repository exists.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-01-08T09_50_31_873Z-debug.log

seems like the error return when git pull repo 'moonwalker'.but as i known, these repo were public,i did not repeat the error you just paste.
so i guess if you can check the privilege settings

@daniel-tron
Copy link
Author

npm/git#7
npm/git#31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants