scztt / vscode-supercollider

MIT License
54 stars 6 forks source link

When cloning running into permissions error. #10

Closed nhrade closed 1 year ago

nhrade commented 1 year ago

I run in a permission error when cloning like this. It appears to occur when cloning the quark for the language server.

git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:scztt/LanguageServer.quark.git' into submodule path '/Users/nhradek/Documents/vscode-supercollider/LanguageServer.quark' failed
Failed to clone 'LanguageServer.quark' a second time, aborting
scztt commented 1 year ago

Usually this kind of problem is because you don't have an SSH key setup for your github account, which will prevent you from cloning a repo. Try these: https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent https://docs.github.com/en/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection

I think setup of keys is a little simpler using the official GitHub application, so you might be able to skip some steps by using that.