1030 error The unauthenticated git protocol on port 9418 is no longer supported.
1027 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-d" "--registry=https://registry.npm.taobao.org"
1028 verbose node v12.16.1
1029 verbose npm v6.13.4
1030 error Error while executing:
1030 error C:\Program Files\Git\cmd\git.EXE ls-remote -h -t git://github.com/c4milo/v8-profiler.git
1030 error
1030 error fatal: remote error:
1030 error The unauthenticated git protocol on port 9418 is no longer supported.
1030 error Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
1030 error
1030 error exited with error code: 128
1031 verbose exit [ 1, true ]
进入git文件中搜索 gitconfig (我的git安装在c盘,在c盘直接搜)
找到该文件在后面添加
[url "https://"]
insteadOf = ssh://
[url "https://"]
insteadOf = git://
尝试是否能成功,如果不成控制台输入
git config --global --edit
查看,至于用不用global,看你想写在哪里了
然后找到该文件位置在后面也加上
浙公网安备 33010602011771号