npm install giving error while accessing GIT url
The accepted answer alone did not help me. Finally it worked after I cleared the npm cache using npm cache clear
.
This question has an answer in an other thread. The issue occurred since I was behind corporate proxy. And @bnguyen82's answer helped me finally.
I just used the following command and the issue got resolved.
git config --global url."https://".insteadOf git://