PanJiaChen / vue-element-admin

:tada: A magical vue admin https://panjiachen.github.io/vue-element-admin
MIT License
87.05k stars 30.39k forks source link

安装依赖报错解决方法 npm install #4222

Open chenpeng2009090027 opened 5 months ago

chenpeng2009090027 commented 5 months ago

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

SteveWorkshop commented 4 months ago

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

不管用的

lishulincug1 commented 2 months ago

"tui-editor": "1.3.3",注释掉就可以吧,这个不一定要用,这个项目太老了,一点也不更新

BeautifulZhao commented 2 months ago

npm config set registry https://mirrors.huaweicloud.com/repository/npm/ 我切换了npm源, npm i 正常

LinJiaHao254485 commented 2 months ago

是有点老