hexo init 卡住

发布于 2022-09-12 12:55:35 字数 1702 浏览 20 评论 0

执行 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

吃颗糖壮壮胆 2022-09-19 12:55:35

我后卡设置了git代理,发现可以成功下载,推测是git卡住了

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文