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

江阴网站建设手机app免费下载

江阴网站建设,手机app免费下载,电脑什么软件可以做动漫视频网站,经营购物网站文章目录vscode执行npm install 报错(npm ERR! code 128)的解决办法问题详情解决办法方法1方法2方法3方法4方法5方法6佛系解决方法vscode执行npm install 报错(npm ERR! code 128)的解决办法 问题详情 报错信息如下: npm install npm ERR! code 128 npm ERR! An …

文章目录

  • vscode执行npm install 报错(npm ERR! code 128)的解决办法
    • 问题详情
    • 解决办法
      • 方法1
      • 方法2
      • 方法3
      • 方法4
      • 方法5
      • 方法6
      • 佛系解决方法

vscode执行npm install 报错(npm ERR! code 128)的解决办法

问题详情

报错信息如下:

npm install
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! command-line line 0: unsupported option "accept-new".
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.npm ERR! A complete log of this run can be found in:

解决办法

注意:以下命令在终端执行后,会在 C:\Users\用户名 目录下的.gitconfig文件中保存相应内容,如果某条内容报错,可手动删除.gitconfig中的内容后重新执行。

方法1

在项目目录下创建文件: .npmrc ,然后在里面添加如下内容:

sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
registry=https://registry.npm.taobao.org

接着在vscode的终端执行如下命令:

git config --global url."https://github.com/nhn/raphael.git".insteadOf ssh://git@github.com/nhn/raphael.git

方法2

在项目目录下创建文件: .npmrc ,然后在里面添加如下内容:

sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
registry=https://registry.npm.taobao.org

接着在vscode的终端执行如下2条命令:

git config --global url."https://github.com/nhn/raphael.git".insteadOf ssh://git@github.com/nhn/raphael.git
git config --global url."https://github.com/adobe-webplatform/eve.git".insteadOf ssh://git@github.com/adobe-webplatform/eve.git

方法3

挂代理:在终端执行如下两条命令

git config --global http.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080

方法4

在vscode(项目目录)终端执行如下2条命令:
git --no-replace-objects ls-remote https://github.com.cnpmjs.org/nhn/raphael.git
git --no-replace-objects ls-remote https://github.com.cnpmjs.org/adobe-webplatform/eve.git

方法5

执行如下命令 将ssh 下载变成https:

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

方法6

单独下载

npm install --save raphael

佛系解决方法

npm install 多执行几次,或者换个时间执行npm install

参考:npm install 报错,怎么搞? 哪里问题? #3859

http://www.dtcms.com/wzjs/344720.html

相关文章:

  • 上海市网站建设加盟鼓楼网页seo搜索引擎优化
  • 二手书店网站建设规划书百度网盘app下载安装 官方下载
  • 网站优化图片链接怎么做企业网站建设平台
  • 哈尔滨 网站开发网站发布与推广方式
  • 深圳龙华鸿宇大厦网站建设山东百度推广总代理
  • 交友网站有人做加拿大28seo网站推广是什么
  • 株洲网站建设推广报价最近发生的热点新闻事件
  • 软文推广文案湖北seo公司
  • 七台河哈尔滨网站建设凡科建站官网
  • 上海市建设工程检测培训中心推广网站seo
  • wordpress 图片名乱码网站排名优化培训课程
  • 如何做一个属于自己的网站互联网营销师含金量
  • 九江网站建设服务合肥网站优化推广方案
  • 济南做网站的好公司湖南企业网站建设
  • 怎样说服企业做网站建设推广关键词推广和定向推广
  • 一个专门做特卖的网站厦门seo排名扣费
  • 做网站空优化大师最新版本
  • 梦织网站网站开发建设步骤
  • 网站建设优化收费广州seo效果
  • 制作网页如何插入图片重庆公司网站seo
  • 备案网站转入阿里云百度指数数据来源
  • 表白网站建设百度app手机版
  • wordpress通过标签调用文章微信seo排名优化软件
  • 专业做写生的网站新开网站
  • 深圳网站建设公司排行榜软文的本质是什么
  • 网站seo软件2022黄页全国各行业
  • 用织梦系统做的2个网站要把它都上传到服务器上吗长春seo培训
  • 一个网站seo做哪些工作内容百度上免费创建网站
  • 北京市建设管理委员会网站株洲专业seo优化
  • 凡客网官网网络seo是什么