当前位置:网站首页>npm报错Beginning October 4, 2021, all connections to the npm registry - including for package installa
npm报错Beginning October 4, 2021, all connections to the npm registry - including for package installa
2022-08-04 05:16:00 【S筱潇S四维Smile】

npm i安装依赖的时候出现报错,翻译软件翻译过来就是:
“从2021 10月4日开始,与npm注册表的所有连接(包括用于安装软件包的连接)必须使用TLS 1.2或更高版本。您当前正在使用明文http连接”
1、查看本地npm是不是官方的
npm config get registry2、设置npm官方源
npm config set registry https://registry.npmjs.org然后再安装就成功了
bogon:h5 dongxiao$ npm config get registry
http://registry.npmjs.org/
bogon:h5 dongxiao$ npm config set registry https://registry.npmjs.org
validBefore? true
bogon:h5 dongxiao$ npm config get registry
https://registry.npmjs.org/边栏推荐
- px、em、rem的区别
- flink cdc一启动,源端Oracle那台服务器的CPU就飙升到80%以上,会是啥原因呢?
- [Evaluation model] Topsis method (pros and cons distance method)
- 获取单选框选中内容
- 高性能高可靠性高扩展性分布式防火墙架构
- 数的划分之动态规划
- [SemiDrive source code analysis] [MailBox inter-core communication] 47 - Analysis of RPMSG_IPCC_RPC mode limit size of single transmission and limit bandwidth test
- System design. Seckill system
- Towards Real-Time Multi-Object Tracking(JDE)
- 【21 Days Learning Challenge】Direct Insertion Sort
猜你喜欢

触觉智能分享-SSD20X实现升级显示进度条

少年成就黑客,需要这些技能

There is an 8 hour difference between the docker installation of mysql and the host.

编程大杂烩(四)

The idea setting recognizes the .sql file type and other file types

share总结
![[Cloud Native--Kubernetes] Pod Resource Management and Probe Detection](/img/1a/b3bdf9b62c82b0fc4d913045981d94.png)
[Cloud Native--Kubernetes] Pod Resource Management and Probe Detection

Get the selected content of the radio box

Turn: Management is the love of possibility, and managers must have the courage to break into the unknown

【21天学习挑战赛】图像的旋转问题(二维数组)
随机推荐
el-Select selector bottom fixed
System design. Seckill system
Will the 2023 PMP exam use the new version of the textbook?Reply is here!
结构体指针知识要点总结
redis中常见的面试题
SLSA 框架与软件供应链安全防护
TSF微服务治理实战系列(一)——治理蓝图
Large chain best freight d audit with what software?What are the functions?
Gartner 权威预测未来4年网络安全的8大发展趋势
Write golang simple C2 remote control based on gRPC
应届生软件测试薪资大概多少?
How to dynamically add script dependent scripts
力扣:63. 不同路径 II
Bolb analysis of image processing (1)
C专家编程 第5章 对链接的思考 5.2 动态链接的优点
Performance testing with Loadrunner
Turn: Management is the love of possibility, and managers must have the courage to break into the unknown
【流程图】
The idea setting recognizes the .sql file type and other file types
7-3 LVS+Keepalived Cluster Description and Deployment