当前位置:网站首页>记录一些npm 有关的问题(杂乱记录)
记录一些npm 有关的问题(杂乱记录)
2022-04-23 06:17:00 【ZMJ_QQ】
git config --global url."https://".insteadOf git://
1、npm查看与设置镜像源地址
1、查看当前镜像源地址
npm get registry
2、删除镜像地址(会恢复默认地址)
npm config delete registry
3、设置镜像地址
默认源地址 源地址
npm config set registry https://registry.npmjs.org/
淘宝镜像地址
npm config set registry https://registry.npmmirror.com
如果没安装过淘宝镜像源的,则直接安装
npm install -g cnpm --registry=https://registry.npmmirror.com
淘宝npm镜像源换新地址了,原文链接淘宝npm镜像源换新地址_Henry_楠的博客-CSDN博客_npm镜像源
2、VUE npm install 使用出现[email protected]: Permission denied (publickey)
原文链接VUE npm install 使用出现[email protected]: Permission denied (publickey)_yangshuainan的博客-CSDN博客
3、npm install 时遇到的报错
C:\Program Files\Git\cmd\git.EXE ls-remote -h -t git://github.com/adobe-webplatform/eve.git
git config --global url."https://".insteadOf git://
C:\Program Files\Git\cmd\git.EXE ls-remote -h -t https://github.com/nhn/raphael.git
ipconfig /flushdns
fatal: unable to access ‘https://github.com/nhn/raphael.git/’: OpenSSL SSL_read: Connection was reset, errno 10054
产生原因:一般是这是因为服务器的SSL证书没有经过第三方机构的签署,所以才报错
参考网上解决办法:解除ssl验证后
git config --global http.sslVerify false
npm ERR Error while executing: npm ERR C:\Program Files\Git\cmd\git.EXE ls-remote -h -t ssh://git@
npm install --registry=https://registry.npm.taobao.org
版权声明
本文为[ZMJ_QQ]所创,转载请带上原文链接,感谢
https://blog.csdn.net/ZMJ_QQ/article/details/124249351
边栏推荐
- scons 搭建嵌入式arm编译
- Gather, unsqueeze and other operators when PTH is converted to onnx
- FATFS FAT32学习小记
- Hanlp分词器(通过spark)
- [8] Assertion failed: dims. nbDims == 4 || dims. nbDims == 5
- go语言切片操作
- PyTorch 9. optimizer
- Intuitive understanding of torch nn. Unfold
- PyTorch 17. GPU并发
- 如何利用qemu搭建SOC protoype:80行代码实现一个Cortex M4 模拟器
猜你喜欢
随机推荐
PyTorch 19. Differences and relations of similar operations in pytorch
海南凤凰机场智能通信解决方案
Unable to determine the device handle for GPU 0000:02:00.0: GPU is lost.
GIS实战应用案例100篇(五十三)-制作三维影像图用以作为城市空间格局分析的底图
美摄科技受邀LVSon2020大会 分享《AI合成虚拟人物的技术框架与挑战》
地铁无线对讲系统
golang实现正则匹配:密码包含至少一位数字,字母和特殊字符,且长度8-16
在项目中的定时作用
网络层重要知识(面试、复试、期末)
基于51单片机的三路超声波测距系统(定时器方式测距)
PyTorch 14. Module class
【无标题】制作一个0-99的计数器,P1.7接按键,P2接数码管段,共阳极数码管,P3.0,P3.1接数码管位码,每按一次键,数码管显示加一。请写出单片机的C51代码
PC端一次启动多个微信
go语言映射操作
golang实现MD5,SHA256,bcrypt加密
CMSIS CM3源码注解
AUTOSAR从入门到精通100讲(八十七)-高级EEA的关键利器-AUTOSAR与DDS
吴恩达编程作业——Logistic Regression with a Neural Network mindset
重大安保事件应急通信系统解决方案
Hanlp分词器(通过spark)










