Yo jhipster: Failed to connect to "git: //github.com"

I am trying to create a new project using JHipster (and Windows 10), but I get this warning:

WARNING! Failed to connect to "git://github.com"

The rest of the creation goes smoothly, but the project does not work later because it skips components from github.

I configured my proxy server and the next line works

git ls-remote http://github.com/angular/angular-phonecat.git
+4
source share
1 answer

After a little research, I discovered rff-doctor ( https://github.com/rakuten-frontend/rff-doctor ) and diagnosed:

× Failed to connect to "git://github.com".
 Error: Command failed: git ls-remote git://github.com/octocat/Spoon-Knife.git HEAD
 1. Check the Internet connection.
 2. If you are using HTTP proxy, try this command:
      $ git config --global url."https://".insteadOf git://

I ran the command and made the following connections.

+4
source

Source: https://habr.com/ru/post/1663495/


All Articles