If you are facing the issue like me about The unauthenticated git protocol on port 9418 is no longer supported. Then you are on right place where you will see how to resolve it.
This error may occurs due to latest Improving in Git protocol security on GitHub which were released on January 11, 2022. So the simple solution is before you run your npm or yarn. Just Set your url to globally to Run this command: git config –global url.”https://”.insteadOf git:// Now, Your error must be solved.
This is the full brownout period where we’ll temporarily stop accepting the deprecated key and signature types, ciphers, and MACs, and the unencrypted Git protocol.
This will help clients discover any lingering use of older keys or old URLs.
Before You Install Just Set url to globally to set url globally Run this command.
git config –global url.”https://”.insteadOf git://