当前位置:网站首页>记录一些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
边栏推荐
- Intelligent communication solution of Hainan Phoenix Airport
- onnxruntime-gpu 1.7 出现的警告“Force fallback to CPU execution for node: Gather_191”等
- Urban emergency management - urban emergency communication command and dispatching system
- 使用proteus仿真STM32超声波SRF04测距!Code+Proteus
- (一)OpenPAI jupyter jupyterhub jupyterlab 方案比较
- PyTorch 14. module类
- 基于51单片机的三路超声波测距系统(定时器方式测距)
- 如何利用qemu搭建SOC protoype:80行代码实现一个Cortex M4 模拟器
- 商业版阿里MQ普通消息发送订阅Demo
- Systrace 解析
猜你喜欢
随机推荐
excel实战应用案例100讲(八)-Excel的报表连接功能
enforce fail at inline_ container. cc:222
SDC intelligent communication patrol management system of Nanfang investment building
Are realrange and einsum really elegant
带您遨游太空,美摄科技为航天创意小程序提供全面技术支持
Device Tree 详解
PyTorch 18. torch. backends. cudnn
江宁医院DMR系统解决方案
Tensorflow安装后ImportError: DLL load failed: 找不到指定的模块,且国内安装缓慢
学习资料
吴恩达编程作业——Logistic Regression with a Neural Network mindset
PyTorch 17. GPU concurrency
Unable to determine the device handle for GPU 0000:02:00.0: GPU is lost.
AUTOSAR从入门到精通100讲(五十二)-诊断和通信管理功能单元
各类日期转化的utils
PyTorch 17. GPU并发
golang实现MD5,SHA256,bcrypt加密
带低压报警的51单片机太阳能充电宝设计与制作(完整代码资料)
广西电网|应急空天一体化通信系统方案
项目文件“ ”已被重命名或已不在解决方案中、未能找到与解决方案关联的源代码管理提供程序——两个工程问题










