native-base-cli
native-base-cli copied to clipboard
Permission denied (publickey).
$ npm install -g native-base-cli
/usr/local/bin/native-base -> /usr/local/lib/node_modules/native-base-cli/index.js
/usr/local/lib
└─┬ [email protected]
└─┬ [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
$ native-base init
Cloning into 'native-base-boilerplate'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
@agersoncgps Hi are you sure you've added your ssh key to github?
can i set this to use bitbucket instead?
@digitalsleep You can port your project to bitbucket later. But you'll need github to clone the project initially.
I'm also running into this issue. Is there any workaround?
Yes. Add your public SSH key to your github account. https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/
Yes adding your ssh key to your github account is the only solution for this
@nandesu, @SupriyaKalghatgi thank you!
@agersoncgps @grigy Is the issue solved?
I have added my public ssh key to my account still get Permission denied error!
@reza7rm Thats something weird! But adding ssh key is the solution for this If you have any github projects cloned on your system, then it should be the same for this also
@agersoncgps yes! and sorry for late answer
I am getting
"fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists."
Even after adding the SSH Keys to my account
Should I get permission to access the repositories of nativebase??
Fixed: Ensure that your id_rsa private key file is having a 600 permission (no read write permission for group and others). And also have your passphrase of private key handy.
i have resolved with this guide https://support.automaticsync.com/hc/en-us/articles/202357115-Generating-an-SSH-Key-on-Windows
@sankhadeeproy007 Why not just use https://github.com/GeekyAnts/native-base-boilerplate.git
instead of [email protected]:GeekyAnts/native-base-boilerplate.git
?