eligrey / FileSaver.js

An HTML5 saveAs() FileSaver implementation
https://eligrey.com/blog/saving-generated-files-on-the-client-side/
Other
21.39k stars 4.38k forks source link

error ssh: Could not resolve hostname github.com for file-saver. #790

Open akgiri1622 opened 1 year ago

akgiri1622 commented 1 year ago

While executing "npm install" in one of my project, I'm facing below issue and it seems access related issue for me for file-saver ( ssh://git@github.com/eligrey/FileSaver.js.git)

17084 error ssh: Could not resolve hostname github.com: Name or service not known 17084 error fatal: Could not read from remote repository. 17084 error 17084 error Please make sure you have the correct access rights 17084 error and the repository exists. 17084 error 17084 error exited with error code: 128

how can I resolve it plz advise! Thanks in advance.

kharmonycentral commented 1 year ago

You may need to add your ssh pub to github

https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account