2020年11月27日

npm配置国内源

摘要: 配置淘宝源 npm config set registry http://registry.npm.taobao.org 获取当前源 npm config get registry 切换为官方源 npm config set registry https://registry.npmjs.org 临 阅读全文

posted @ 2020-11-27 23:02 消失的森林 阅读(705) 评论(0) 推荐(0)

github加速访问方式

摘要: 1.使用gitee来中转,不过此种方式无法下载release文件 2.使用镜像网站加速 https://github.com.cnpmjs.org https://hub.fastgit.org 3.使用github文件加速 https://gh.api.99988866.xyz https://g 阅读全文

posted @ 2020-11-27 21:35 消失的森林 阅读(513) 评论(0) 推荐(0)

git clone 代理配置

摘要: 有时候git clone 网速较慢,可以通过配置代理来提供克隆速度 配置如下: git config --global http.proxy socks5://127.0.0.1:1080 git config --global https.proxy socks5://127.0.0.1:1080 阅读全文

posted @ 2020-11-27 15:35 消失的森林 阅读(2313) 评论(0) 推荐(0)

wls2和win10系统环境变量混淆解决办法

摘要: 1.官方提供办法: 这是用来关闭互操作性 echo 0 > /proc/sys/fs/binfmt_misc/WSLInterop 如果要重新打开 echo 1 > /proc/sys/fs/binfmt_misc/WSLInterop 2. 网上其他办法(这种办法测试有效,我的系统是wsl2+ar 阅读全文

posted @ 2020-11-27 13:50 消失的森林 阅读(646) 评论(0) 推荐(0)

导航