Open snakehyq opened 2 years ago
+1 , 没整明白
+1 咋搞的
+1 , 没整明白
+1 咋搞的
输入: 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
github添加ssh后就可以了,参考:https://blog.csdn.net/where_in/article/details/122575015
git config --global url."https://".insteadOf ssh://git@
用这个命令就可以解决了,其他的好象都没有啥用
然后npm install
很有用!!!
╭(╯3╰)╮亲!你的信件我已经收到了,我会尽快查看的O(∩_∩)O哈!
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则不需要,作者引用第三方包疏忽了
删掉 "tui-editor" 也可以成功!
╭(╯3╰)╮亲!你的信件我已经收到了,我会尽快查看的O(∩_∩)O哈!
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.