Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the hueman domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/CloudIngenium.com/htdocs/wp-includes/functions.php on line 6114
Resolved: fatal: Unable to find remote helper for ‘git+http’ when using npm install – Knowledge eXchange

Resolved: fatal: Unable to find remote helper for ‘git+http’ when using npm install

I was installing an open source project when I came into several issues. In order to install the dependencies I ran npm install on the shared library and came across the error message:

fatal: Unable to find remote helper for ‘git+http’

This of course complicated my entire existence. Tried to find a way to specify other protocol for git to get the source like https or plain old git but no luck. After hours and hours and considering the shared library is open source and I don’t control the code, I was looking for a way to git to smart its way around this… and thankfully I found it. 

Solution:

This magic command made all my issues go away:

git config --global url."https://".insteadOf git+http://

 
Do note that the command is changing git+http:// to https://. Use it wisely. Also, looking online most users have an error with git+https:// (mine was plain http) (fatal: Unable to find remote helper for ‘git+https’) so in that case you need to run a slightly different command like this:
 

git config --global url."https://".insteadOf git+https://

 
Hope this helps!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.