错误没截全,见谅
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是在这