vue-element-admin安装依赖报错问题

vue-element-admin 安装依赖的时候报以下错误

npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent An unknown git error occurred
npm ERR! enoent This is related to npm not being able to find a file
npm ERR! enoent
npm ERR! A complete log of this run can be found in:

这种报的错误,这个是因为本地电脑跟github 没有绑定ssh key。 不用在尝试别的办法,绑定ssh key之后就好了。

 

配置SSH key参考:https://blog.csdn.net/helloasimo/article/details/123778112

posted @ 2023-06-02 16:18  路边有一棵草  阅读(140)  评论(0编辑  收藏  举报