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

FileSaver dependecy: npm install failed #3420

Closed
nicolasdev1 opened this issue May 18, 2022 · 2 comments
Closed

FileSaver dependecy: npm install failed #3420

nicolasdev1 opened this issue May 18, 2022 · 2 comments

Comments

@nicolasdev1
Copy link

error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads ssh://git@github.com/eligrey/FileSaver.js.git
Output:
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

@pixleight
Copy link

This may be related to npm/cli#4896 and GitHub removing support for the git:// protocol.

If it is, my workaround while still on jsPDF v1.5.3 was to find & replace references to github: in package-lock.json:

"github:" => "https://github.com/"

So any reference to github:organization/repo... becomes https://github.com/organization/repo...

If there is any git:// in package.json / package-lock.json, you may want to also update those to instead use http://

Or, you can just update your global git config with git config --global url."https://".insteadOf git://

@github-actions
Copy link

This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant.

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

No branches or pull requests

2 participants