Closed fliodhais closed 4 months ago
I had the same problem.
For me the issue was the fact that npm tries to access github trough ssh and tries to use the default key file, if the file has a password the process fails.
So at the end of the day you should set your default key without password.
To confirm that try to execute this command manually
/usr/bin/git ls-remote -h -t ssh://git@github.com/ngokevin/ziploader.git
if it asks for a password or gives an error then you should solve that.
I had the same problem. For me the issue was the fact that npm tries to access github trough ssh and tries to use the default key file, if the file has a password the process fails. So at the end of the day you should set your default key without password. To confirm that try to execute this command manually
/usr/bin/git ls-remote -h -t ssh://git@github.com/ngokevin/ziploader.git
if it asks for a password or gives an error then you should solve that.
Thanks for the suggestion but it doesn't seem to solve the issue. As @dmarcos suggested in discord, "add your public key to github?" worked. https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account
Thanks frabul and fliodhais! I had to follow both steps. Adding SSH key generated on this device to github account then followed by the manual command to ziploader.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added 'github.com' (...) to the list of known hosts.
Accepting this solved this issue.
Hi, I have tried installing using the recommended node versions (12, 11, 10) with their accompanying npm versions with no avail. I have checked other related issues AFAIK and none are identical though similar.
My hypothesis on error
logs
https://pastebin.com/QYTAJd9D