爱我中华8898

关注

设置git环境,遇到git开头时转为https

爱我中华8898

关注

阅读 30

2023-10-04

step1: clone工程

https://github.com/PanJiaChen/vue-element-admin.git

step2: 如果直接npn install,则会报错

1.设置git环境,遇到git开头时转为https

git config --global url."https://".insteadOf git://

2.使用淘宝镜像执行

npm install --registry=https://registry.npm.taobao.org

step3: 运行起来

npm run dev

 

相关推荐

承蒙不弃

Github使用git提交时遇到冲突

承蒙不弃 167 0 0

mm_tang

设置取消git配置的http或https代理

mm_tang 108 0 0

一枚路过的程序猿

【Git】git clone 报错:git fatal: Unable to find remote helper for ‘https‘

一枚路过的程序猿 66 0 0

Silence潇湘夜雨

关于PHP测试环境及 git权限设置

Silence潇湘夜雨 4 0 0

gy2006_sw

Git基础设置

gy2006_sw 119 0 0

凌得涂

git全局设置

凌得涂 92 0 0

RJ_Hwang

git push 失败 unable to access ‘https://github.com/..../.git‘

RJ_Hwang 82 0 0

西曲风

[git]Windows环境下 git && Github 快速入门

西曲风 40 0 0

春意暖洋洋

git 获取 https url时出现 SSL certificate problem 解决办法

春意暖洋洋 45 0 0

微笑沉默

Git系列 - 设置签名

微笑沉默 131 0 0

精彩评论(0)

0 0 举报