download from the github project down, command window into the project folder, run npm install given as follows:
If your error message similar (not the same I think we can also try, Baidu methods varied, that is very complicated, this method is effective and simple pro-test), then execute the following command:
git config --global url."https://".insteadOf git://
After re npm install to install successfully.
Cause Analysis:
When you want to clone a repository on others github, we found that the system will not let you move, you are prompted firewall prohibits git: // access, this time can only use https: // to access the repository.
Execute git config --global url "https: //". .InsteadOf git: // later, you will find in your file .gitconfig will be more of a line
1 [url "https://"] 2 insteadOf = git://
This time, you can later whether you work in a terminal clone, use git: //, or http: // to access someone else's repository, two methods will become the default http: // in the form of connection and normal work a.