国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

npm ERR! code 128npm ERR! An unknown git error occurrednpm ERR! command git --no-replace-objects l

這篇具有很好參考價(jià)值的文章主要介紹了npm ERR! code 128npm ERR! An unknown git error occurrednpm ERR! command git --no-replace-objects l。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請(qǐng)大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問(wèn)。

背景:

在安裝vue-element-admin 項(xiàng)目所需依賴時(shí),出現(xiàn)了如下報(bào)錯(cuò)信息

npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/adobe-webplatform/eve.git
npm ERR! git@github.com: Permission denied (publickey).
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:
npm ERR!     D:\Develo\nodejs\node_cache\_logs\2022-02-23T03_34_18_949Z-debug-0.log

解決辦法:

1、使用下面的命令,達(dá)到,把地址里的 ssh://git@ 換成 https:// 的目的

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

2、然后重新通過(guò) npm install 安裝項(xiàng)目依賴

npm install

效果圖:

npm err! code 128 npm err! an unknown git error occurred,Web前端,git,npm,github

npm err! code 128 npm err! an unknown git error occurred,Web前端,git,npm,github?

?npm err! code 128 npm err! an unknown git error occurred,Web前端,git,npm,github

?文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-525507.html

到了這里,關(guān)于npm ERR! code 128npm ERR! An unknown git error occurrednpm ERR! command git --no-replace-objects l的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來(lái)自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場(chǎng)。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請(qǐng)注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請(qǐng)點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • npm ERR! exited with error code: 128終極解決辦法

    npm ERR! exited with error code: 128終極解決辦法

    報(bào)錯(cuò)信息:npm ERR! E:toolsGittGitcmdgit.EXE ls-remote -h -t https://github.com/nhn/raphael.git npm ERR! npm ERR! fatal: unable to access \\\'https://github.com/nhn/raphael.git/\\\': OpenSSL SSL_read: Connection was reset, errno 10054 npm ERR! npm ERR! exited with error code: 128 升級(jí)npm,配置https都不行 ?git config --global url.\\\"https://\\\".instea

    2024年02月07日
    瀏覽(26)
  • vscode執(zhí)行npm install 報(bào)錯(cuò)(npm ERR! code 128...raphael.git...)的解決辦法

    報(bào)錯(cuò)信息如下: 注意:以下命令在終端執(zhí)行后,會(huì)在 C:Users用戶名 目錄下的.gitconfig文件中保存相應(yīng)內(nèi)容,如果某條內(nèi)容報(bào)錯(cuò),可手動(dòng)刪除.gitconfig中的內(nèi)容后重新執(zhí)行。 方法1 在項(xiàng)目目錄下創(chuàng)建文件: .npmrc ,然后在里面添加如下內(nèi)容: 接著在vscode的終端執(zhí)行如下命令: 方

    2024年02月10日
    瀏覽(29)
  • 解決npm install下載不下來(lái)包依賴,提示:An unknown git error occurred

    解決npm install下載不下來(lái)包依賴,提示:An unknown git error occurred

    將git上的項(xiàng)目拉到本地之后,進(jìn)行npm i的時(shí)候發(fā)現(xiàn)下載不下來(lái)包依賴,并提示:An unknown git error occurred,如圖所示: 解決辦法: 1、使用下面的命令,把地址里的 ??ssh://git@??? 換成 ??https://?? git config --global url.“https://”.insteadOf ssh://git@ 2、重新npm i 就可以了 npm i 如

    2024年02月11日
    瀏覽(24)
  • 【已解決】npm安裝依賴報(bào)錯(cuò): npm ERR! cb() never called! npm ERR! This is an error with npm itself.

    用npm安裝依賴報(bào)錯(cuò): 這個(gè)問(wèn)題困擾了我?guī)滋?,網(wǎng)上答案五花八門,不過(guò)對(duì)我來(lái)說(shuō),那些方法都沒(méi)有效果,記錄一下我解決這個(gè)錯(cuò)誤的步驟,如下: 刪除下載好的node_modules 刪除package-lock.json文件 清除npm緩存 npm cache clean npm install

    2024年02月20日
    瀏覽(24)
  • appium踩坑(VIVO手機(jī))報(bào)錯(cuò):An unknown server-side error occurred while processing the command.Original error

    appium踩坑(VIVO手機(jī))報(bào)錯(cuò):An unknown server-side error occurred while processing the command.Original error

    appium報(bào)錯(cuò):Failed to create session. An unknown server-side error occurred while proces....... 1、appium管理員身份運(yùn)行,重新填寫(xiě)配置中的ANDROID_HOME和JAVA_HOME 2、appium地址從127.0.0.1 改為0.0.0.0 3、運(yùn)行Inspector host地址改為localhost其他保持不變 可成功運(yùn)行Inspector,不知道哪一步解決的,總之在127.0

    2024年04月28日
    瀏覽(27)
  • npm 裝包報(bào)錯(cuò) npm ERR cb() never called npm ERR This is an error with npm itself. Please report this

    npm 裝包報(bào)錯(cuò) npm ERR cb() never called npm ERR This is an error with npm itself. Please report this

    node.js 版本過(guò)高 Vue2 項(xiàng)目使用 12開(kāi)頭 的 Node.js版本 ,Vue3項(xiàng)目使用 16開(kāi)頭 的 Node.js 版本(我 Vue2 用 12.18.0,Vue3 用 16.14.0) 同時(shí)按下 Win+R 鍵后輸入 cmd ,然后回車打開(kāi)小黑窗,輸入 node -v 方法一:重裝 Node ( 不推薦 ) 不推薦這個(gè)方法 ,想切換 node 版本又得卸載重裝,很不方便

    2024年02月12日
    瀏覽(21)
  • Appium如何解決報(bào)錯(cuò):An unknown server-side error occurred while processing the command. Original error: Er

    使用appium客戶端連接小米手機(jī)失敗,完整報(bào)錯(cuò)信息如下: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: ‘Command ‘{已隱藏}/Library/Android/sdk/platform-tools/adb -P 5037 -s fca2117a shell settings delete global hidden_api_policy_pre_p_apps’ exited with c

    2024年04月15日
    瀏覽(43)
  • jenkins 配置git 提示“無(wú)法連接倉(cāng)庫(kù):Command “git ls-remote -h -- gitxxxxxxxxx status code 128”

    jenkins 配置git 提示“無(wú)法連接倉(cāng)庫(kù):Command “git ls-remote -h -- gitxxxxxxxxx status code 128”

    無(wú)法連接倉(cāng)庫(kù):Command “git ls-remote -h – git@codeup.aliyun.com:xxxxxxxxxxxxxxx/xxxxxx.git HEAD” returned status code 128: stdout: stderr: Load key “/tmp/jenkins-gitclient-ssh14549883685367104196.key”: error in libcrypto git@codeup.aliyun.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you h

    2024年02月05日
    瀏覽(15)
  • 【Appium】Failed to create session. An unknown server-side error occurred while processing the command

    【Appium】Failed to create session. An unknown server-side error occurred while processing the command

    報(bào)錯(cuò)信息: 遇到這些錯(cuò)誤的時(shí)候,我們要把 手機(jī)開(kāi)發(fā)者模式的這三個(gè)選項(xiàng)都打開(kāi) : 因?yàn)樗惭b一個(gè)軟件: 第一次調(diào)試的時(shí)候手機(jī)端會(huì)彈出來(lái)個(gè)密鑰確定的窗口,大概意思就是是否同意這個(gè)計(jì)算機(jī)對(duì)自己的電腦進(jìn)行調(diào)試,要點(diǎn)同意。 然后 手機(jī)一定要安裝好要進(jìn)行調(diào)試的軟

    2024年02月16日
    瀏覽(36)
  • Error code: 128 通常是Git返回的錯(cuò)誤代碼

    Error code: 128 通常是Git返回的錯(cuò)誤代碼

    這個(gè)錯(cuò)誤信息表明在從GitHub克隆存儲(chǔ)庫(kù)時(shí)發(fā)生了問(wèn)題。 導(dǎo)致錯(cuò)誤的原因可能是網(wǎng)絡(luò)或, 未初始化為 Git 倉(cāng)庫(kù) 者是其他原因。 我采用解決方法:直接clone到目標(biāo)倉(cāng)庫(kù),然后重新運(yùn)行終端就可以了。 git clone https://github.com/Stability-Al/stablediffusion.git \\\"D:AIstable-diffusion-webuirepositori

    2024年03月18日
    瀏覽(20)

覺(jué)得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請(qǐng)作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包