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

Update git:// with https:// for attrs dependency #34

Open
gdelory opened this issue Jan 11, 2022 · 1 comment
Open

Update git:// with https:// for attrs dependency #34

gdelory opened this issue Jan 11, 2022 · 1 comment

Comments

@gdelory
Copy link

gdelory commented Jan 11, 2022

Getting this error because of the legacy git:// protocol in the package.json:

20220111 06:36:57 : RC=0
�[91mnpm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
�[0m�[91mnpm WARN deprecated [email protected]: this library is no longer supported
�[0m�[91mnpm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
�[0m�[91mnpm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
�[0m�[91mnpm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t git://github.com/IBM/markdown-it-attrs.git
npm ERR!�[0m�[91m 
npm ERR!�[0m�[91m fatal: remote error: 
npm �[0m�[91mERR!   The unauthenticated git protocol on port 9418 is no longer supported.
npm �[0m�[91mERR!�[0m�[91m Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
�[0m�[91mnpm�[0m�[91m ERR!�[0m�[91m 
npm �[0m�[91mERR!�[0m�[91m exited with error code: 128
�[0m�[91m
npm �[0m�[91mERR! A complete log of this run can be found in:

I'm thinking this line should be changed to use https://?

@gdelory
Copy link
Author

gdelory commented Jan 12, 2022

Temporary work-around:
git config --global url."https://".insteadOf git://

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

No branches or pull requests

1 participant