PanJiaChen / vue-element-admin

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

npm i 安装命令报错 #4009

Open snakehyq opened 2 years ago

snakehyq commented 2 years ago

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! 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.

wsyslf1996 commented 2 years ago

+1 , 没整明白

caidynasty commented 2 years ago

+1 咋搞的

enjoyWeb commented 2 years ago

+1 , 没整明白

caidynasty commented 2 years ago

+1 咋搞的

tripledoorz commented 2 years ago

输入: git config --global url."https://github.com/".insteadOf git://github.com/ 然后npm install https://stackoverflow.com/questions/70663523/the-unauthenticated-git-protocol-on-port-9418-is-no-longer-supported

weixiaodyanlei commented 2 years ago

github添加ssh后就可以了,参考:https://blog.csdn.net/where_in/article/details/122575015

lnc2014 commented 2 years ago

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

用这个命令就可以解决了,其他的好像都没啥用

然后npm install

king-kobe commented 1 year ago

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

用这个命令就可以解决了,其他的好象都没有啥用

然后npm install

很有用!!!

enjoyWeb commented 1 year ago

╭(╯3╰)╮亲!你的信件我已经收到了,我会尽快查看的O(∩_∩)O哈!

kihoor commented 1 year ago

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! 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. git@是需要权限的,https则不需要,作者引用第三方包疏忽了

PLQin commented 1 year ago

删掉 "tui-editor" 也可以成功!

enjoyWeb commented 1 year ago

╭(╯3╰)╮亲!你的信件我已经收到了,我会尽快查看的O(∩_∩)O哈!