解决
git config --global url."https://github.com".insteadOf git://github.com
报错信息以下几种
1、unable to connect to github.com: github.com[0: 20.205.243.166]: errno=连接超时
2、npm ERR! Error while executing:
npm ERR! D:\Git\cmd\git.EXE ls-remote -h -t git://github.com/thingsboard/flot.git
npm ERR!
npm ERR! fatal: unable to connect to github.com:
npm ERR! github.com[0: 20.205.243.166]: errno=Unknown error
npm ERR!
npm ERR!
npm ERR! exited with error code: 128
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\qubo0\AppData\Roaming\npm-cache\_logs\2024-03-14T11_51_46_424Z-debug.log
3、error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads git://github.com/MichaelZinsmaier/CurvedLines.git
Directory: E:\SmallGrass\hl_platform\thinsboard\thingsboard\ui-ngx
Output:
fatal: unable to connect to github.com:
github.com[0: 20.205.243.166]: errno=Unknown error
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.