Blogger Information
Blog 77
fans 0
comment 2
visits 55502
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
github的clone有安装不了依赖的问题错误代码128,设置GitHub代理
南瓜又个梦
Original
1327 people have browsed it

问题:clone项目后依赖安装不上,报错128
安装依赖报错信息
解决:设置git代理,前提有科学上网工具
1,找到代理的使用的(http://127.0.0.1:1080)
查找进程的pid
打开进程找到对应pin对应的http://127.0.0.1:1080

  1. git config --global https.proxy http://127.0.0.1:1080
  2. //配置你自己所用的翻墙软件所用的IP,可能不只一个
  3. git config --global https.proxy https://127.0.0.1:1080
  4. git config --global --unset http.proxy
  5. git config --global --unset https.proxy
  6. npm config delete proxy
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post