本文主要是介绍hexo init命令报错:Error: EPERM: operation not permitted, mkdir ‘D:\‘,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
我用的是git bash通过hexo init安装hexo的,但是报错如下:
$ hexo init
INFO Cloning hexo-starter https://github.com/hexojs/hexo-starter.git
fatal: unable to access 'https://github.com/hexojs/hexo-starter.git/': HTTP/2 stream 1 was not closed cleanly before end of the underlying stream
WARN git clone failed. Copying data instead
FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html
Error: EPERM: operation not permitted, mkdir 'D:\'
把git bash关掉,然后在要安装的目录下重新打开git bash,重新执行hexo init命令即可成功:
这篇关于hexo init命令报错:Error: EPERM: operation not permitted, mkdir ‘D:\‘的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!