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://