安装依赖报错解决方法 npm install
chenpeng2009090027 opened this issue · 4 comments
git config --global http.sslverify "false"
npm install
报错如下,解决方法如上
PS E:\vue3\vue-element-admin-master\vue-element-admin-master> 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! Permission denied, please try again.
npm ERR! Permission denied, please try again.
npm ERR! git@github.com: Permission denied (publickey,password,keyboard-interactive).
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\34460\AppData\Local\npm-cache_logs\2024-01-24T08_28_33_505Z-debug-0.log
git config --global http.sslverify "false"
npm install
报错如下,解决方法如上
PS E:\vue3\vue-element-admin-master\vue-element-admin-master> 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! Permission denied, please try again. npm ERR! Permission denied, please try again. npm ERR! git@github.com: Permission denied (publickey,password,keyboard-interactive). 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\34460\AppData\Local\npm-cache_logs\2024-01-24T08_28_33_505Z-debug-0.log
不管用的
"tui-editor": "1.3.3",注释掉就可以吧,这个不一定要用,这个项目太老了,一点也不更新
npm config set registry https://mirrors.huaweicloud.com/repository/npm/
我切换了npm源, npm i 正常
是有点老