Java教程

运行GitHub上的源码时遇到的错误

本文主要是介绍运行GitHub上的源码时遇到的错误,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

错误没截全,见谅

npm ERR! path git
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn git
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/sohee-lee7/Squire.git

这是因为没有安装git,可以安装git解决。


 

npm ERR! code 128
npm ERR! command failed
npm ERR! command git 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! Please make sure you have the correct access rights
npm ERR! and the repository exists.

git源码要秘钥:

配置秘钥

之后配置远程仓库

打开git bash here(桌面鼠标左键)

创建文件夹

cd path

git init

 

之后下载源码

git clone git@github.com:Pan

git@github.com:Pan是在这

这篇关于运行GitHub上的源码时遇到的错误的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!