npm ERR! code 128的錯誤問題解決方法
解決npm ERR! code 128
1.問題描述
在使用npm install時提示以下錯誤:

2.解決方案
在cmd中輸入
npm cache clean --force
在重新npm install即可
補充:npm install報錯 code:128 和 Error: EPERM: operation not permitted
報錯:
npm ERR! code 128
npm ERR! command failed
npm ERR! command git 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! C:\Users\Ailjx\AppData\Local\npm-cache\_logs\2021-07-19T06_15_12_290Z-debug.log
解決辦法:
執(zhí)行如下命令:
git config --global http.sslverify "false"
再執(zhí)行 ??npm install??
如果上述命令執(zhí)行完后,還是報那個錯誤,繼續(xù)執(zhí)行如下命令
git config --global url."https://".insteadOf git://
可以通過如下操作解決 npm 下載速度慢的問題
npm install --registry=https://registry.npm.taobao.org
Error: EPERM: operation not permitted問題
刪除??C:\Users\用戶名\.npmrc?? 文件就ok
到此這篇關(guān)于解決npm ERR! code 128的錯誤問題的文章就介紹到這了,更多相關(guān)npm ERR! code 128內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!
- npm?ERR!Cannot?read?properties?of?null(reading?'pickAlgorithm')報錯問題解決
- npm?ERR!?code?E404在vscode安裝插件時報錯的兩種解決方案
- npm?ERR!?Node.js?v20.11.0錯誤的解決
- 用npm install時報錯node-sass npm ERR command failed問題的解決方法
- 啟動myvue報錯npm?ERR!?code?ENOENT?npm?ERR!?syscall?open的解決辦法
- 解決Node.js包管理器安裝報錯npm?ERR!?code?1的問題
- 前端報錯npm ERR! cb() never called!問題解決辦法
- npm ERR! code ELIFECYCLE錯誤及解決方法
- node中npm ERR! network ‘proxy‘ 配置問題解決
相關(guān)文章
Vue 設(shè)置axios請求格式為form-data的操作步驟
今天小編就為大家分享一篇Vue 設(shè)置axios請求格式為form-data的操作步驟,具有很好的參考價值,希望對大家有所幫助。一起跟隨小編過來看看吧2019-10-10
vue+VeeValidate 校驗范圍實例詳解(部分校驗,全部校驗)
validate()可以指定校驗范圍內(nèi),或者是全局的 字段。而validateAll()只能校驗全局。這篇文章主要介紹了vue+VeeValidate 校驗范圍(部分校驗,全部校驗) ,需要的朋友可以參考下2018-10-10
Vue 中 filter 與 computed 的區(qū)別與用法解析
這篇文章主要介紹了Vue 中 filter 與 computed 的區(qū)別與用法,本文給大家介紹的非常詳細,具有一定的參考借鑒價值,需要的朋友可以參考下2019-11-11
vue使用WEB自帶TTS實現(xiàn)語音文字互轉(zhuǎn)的操作方法
這篇文章主要介紹了vue使用WEB自帶TTS實現(xiàn)語音文字互轉(zhuǎn),本文給大家介紹的非常詳細,對大家的學習或工作具有一定的參考借鑒價值,需要的朋友參考下吧2024-01-01
vue+echarts+datav大屏數(shù)據(jù)展示及實現(xiàn)中國地圖省市縣下鉆功能
這篇文章主要介紹了vue+echarts+datav大屏數(shù)據(jù)展示及實現(xiàn)中國地圖省市縣下鉆,本文通過實例代碼給大家介紹的非常詳細,對大家的學習或工作具有一定的參考借鑒價值,需要的朋友可以參考下2020-11-11

