hexo init 卡住
执行 init 命令后一直在这个位置
D:blog>hexo init
INFO Cloning hexo-starter https://github.com/hexojs/hexo-starter.git
我已经使用了淘宝镜像,nodejs 也比较新:
D:>node -v
v12.18.4
D:>npm -v
6.14.8
D:>hexo -v
hexo-cli: 4.2.0
os: Windows_NT 10.0.19041 win32 x64
node: 12.18.4
v8: 7.8.279.23-node.39
uv: 1.38.0
zlib: 1.2.11
brotli: 1.0.7
ares: 1.16.0
modules: 72
nghttp2: 1.41.0
napi: 6
llhttp: 2.1.2
http_parser: 2.9.3
openssl: 1.1.1g
cldr: 37.0
icu: 67.1
tz: 2019c
unicode: 13.0
D:>npm config get registry
https://registry.npm.taobao.org/
不知道过了多久变成了这样:
D:\blog>hexo init
INFO Cloning hexo-starter https://github.com/hexojs/hexo-starter.git
error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/hexojs/hexo-theme-landscape.git' into submodule path 'D:/blog/themes/landscape' failed
Failed to clone 'themes/landscape'. Retry scheduled
error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/hexojs/hexo-theme-landscape.git' into submodule path 'D:/blog/themes/landscape' failed
Failed to clone 'themes/landscape' a second time, aborting
WARN git clone failed. Copying data instead
FATAL {
err: [Error: EPERM: operation not permitted, mkdir 'D:\'] {
errno: -4048,
code: 'EPERM',
syscall: 'mkdir',
path: 'D:\\'
}
} Something's wrong. Maybe you can find the solution here: %s http://hexo.io/docs/troubleshooting.html
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我后卡设置了git代理,发现可以成功下载,推测是git卡住了