• git dep preparation failed 报错


    npm ERR! code 128
    npm ERR! git dep preparation failed
    npm ERR! command E: ode.exe C:Users92417AppDataRoaming pm ode_modules pmin pm-cli.js install --force --cache=C:Users92417AppDataLocal pm-cache --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
    npm ERR! npm WARN using --force Recommended protections disabled.
    npm ERR! npm ERR! code 128
    npm ERR! npm ERR! A git connection error occurred
    npm ERR! npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/adobe-webplatform/eve.git
    npm ERR! npm ERR! kex_exchange_identification: read: Connection reset by peer
    npm ERR! npm ERR! Connection reset by 20.205.243.166 port 22
    npm ERR! npm ERR! fatal: Could not read from remote repository.
    npm ERR! npm ERR!
    npm ERR! npm ERR! Please make sure you have the correct access rights
    npm ERR! npm ERR! and the repository exists.
    npm ERR!
    npm ERR! npm ERR! A complete log of this run can be found in:
    npm ERR! npm ERR! C:Users92417AppDataLocal pm-cache_logs?2-02-24T08_05_03_956Z-debug.log

    npm ERR! A complete log of this run can be found in:
    npm ERR! C:Users92417AppDataLocal pm-cache_logs?2-02-24T08_05_37_379Z-debug.log

    在这里插入图片描述
    试了淘宝镜像 cnpm yarn 都没用 升级了git版本 也没用
    后来使用
    git config --global url.“https://”.insteadOf git://
    这个好像是强制使用https
    然后npm i 好了

    先自我介绍一下,小编13年上师交大毕业,曾经在小公司待过,去过华为OPPO等大厂,18年进入阿里,直到现在。深知大多数初中级java工程师,想要升技能,往往是需要自己摸索成长或是报班学习,但对于培训机构动则近万元的学费,着实压力不小。自己不成体系的自学效率很低又漫长,而且容易碰到天花板技术停止不前。因此我收集了一份《java开发全套学习资料》送给大家,初衷也很简单,就是希望帮助到想自学又不知道该从何学起的朋友,同时减轻大家的负担。添加下方名片,即可获取全套学习资料哦

  • 相关阅读:
    【C++】map / multimap容器
    机器学习第十课--提升树
    [从0开始机器学习]1.一元一次函数线性回归
    速盾:dns和cdn区别?
    Microservices communication
    springboot基于微信小程序的电器商城系统的设计与实现毕业设计源码251453
    C++ 使用c++类模板实现动态数组-可实现自定义数据类型存储
    [4.9]-AutoSAR零基础学习-(SHE)Secure Hardware Extension规范<1>
    前端——Vuex状态管理
    [山东科技大学OJ]1586 Problem D: 编写函数:求矩阵的每行之和 (Append Code)
  • 原文地址:https://blog.csdn.net/m0_67394230/article/details/126083133