闲话:
最近弄毕业的事摸鱼了很久,然后现在换了台新电脑,就记录一下一些新装软件遇到的问题。该问题是使用git clone报错的。
解决方法:
1、首先遇到一个新问题:
error: could not lock config file C:/Program Files/Git/etc/gitconfig: Permission denied
解决方法链接:
Git 初始化操作错误error: could not lock config file C: - 知乎 (zhihu.com)
我觉得显示没有权限的时候应该想到用管理员运行,就跟ubuntu下的sudo一样。
2、接下来用这个链接:
我用的是:
git config --system http.sslverify false
之后就可以正常使用git clone了。
3、Recipe terminated with fatal error: spawn xelatex ENOENT
解决方法:将texlive路径添加到环境变量。
Recipe terminated with fatal error: spawn xelatex ENOENT_玄谔的博客-CSDN博客