当前位置: 首页 > news >正文

npm install报错 code:128

报的错误:

npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/nhn/raphael.git
npm ERR! git@github.com: Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.

解决办法:

执行如下命令

git config --global Http.sslverify "false"

运行 npm install --reGIStry=https://registry.npm.taobao.org

--------一定确认一下是 taobao.org 

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

还报错 运行:

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

 再重新npm install --reGIStry=https://registry.npm.taobao.org

http://www.lryc.cn/news/173110.html

相关文章:

  • 爬虫 — Scrapy 框架(一)
  • Python编程语言学习笔记
  • 【运维面试100问】(三)说说你在故障排除方面的经历
  • Postman 全局配置接口路径变量等
  • 一文掌握CodiMD安装与使用
  • 无人机顶会顶刊2023
  • 【Java毕设项目】基于SpringBoot+Vue校园便利平台的设计与实现
  • 03Nginx的静态资源部署,反向代理,负载均衡,动静分离的配置
  • 刷题笔记24——完全二叉树的节点个数
  • sentinel环境搭建以及微服务接入
  • Klotski: Efficient Obfuscated Execution against Controlled-Channel Attacks
  • 阿里云无影云电脑角色AliyunServiceRoleForGws什么意思?
  • 操作系统--------调度算法篇
  • 宝塔composer 安装laravel依赖出现的问题
  • OpenCV自学笔记二十四:支持向量机
  • 网络初识
  • 极坐标和直角坐标的雅克比矩阵推导
  • 经管博士科研基础【25】概率论中的相关基础概念
  • 计算机网络的相关知识点总结(一)
  • 下载github.com上的依赖资源
  • 编写 GPT 提示词的公式 + 资源分享
  • 用HTML、CSS和JavaScript制作的通用进制转换器
  • ArcGIS 10.3软件安装包下载及安装教程!
  • 【数据增强】
  • Ae 效果:CC Force Motion Blur
  • 2023华为杯研究生数学建模竞赛CDEF题思路+模型代码
  • FP独立站之黑科技:AB站收款、斗篷CLOAK
  • 【Linux网络编程】gdb调试技巧
  • ElementUI之登录与注册
  • 报错处理:Error: Redis server is running but Redis CLI cannot connect