INFO Cloning hexo-starter https://github.com/hexojs/hexo-starter.git fatal: unable to access 'https://github.com/hexojs/hexo-starter.git/': Recv failure: Connection was reset 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:\' at async Object.mkdir (node:internal/fs/promises:860:10)
可能是因为github防火墙问题,重新再试一遍
接着报错Please run ‘npm install’ in “D:\Blog” folder.
1 2 3 4 5 6 7 8 9
INFO Cloning hexo-starter https://github.com/hexojs/hexo-starter.git INFO Install dependencies WARN Failed to install dependencies. Please run 'npm install' in "D:\Blog" folder.
$ git clone --recursive git://[github.com/isaacs.npm.git](https://github.com/isaacs.npm.git) Cloning into 'isaacs.npm'... fatal: unable to connect to [github.com](https://github.com/): [github.com](https://github.com/)[0: 20.205.243.166]: errno=Connection timed out