问题:
INFO Cloning hexo-starter https://github.com/hexojs/hexo-starter.git
WARN git clone failed. Copying data instead
FATAL {
err: [Error: ENOENT: no such file or directory, scandir ‘/usr/local/lib/node_modules/hexo/node_modules/hexo-cli/assets’] {
errno: -2,
code: ‘ENOENT’,
syscall: ‘scandir’,
path: ‘/usr/local/lib/node_modules/hexo/node_modules/hexo-cli/assets’
}
} Something’s wrong. Maybe you can find the solution here: %s http://hexo.io/docs/troubleshooting.html
解决方案:
很明显,没有安装git,在xshell下执行 sudo yum install -y git
即可
centos7安装hexo时,执行hexo init命令出现问题
最新推荐文章于 2024-01-11 17:31:03 发布