shangrila-xiu

112
文章
101
分类
33
标签
  • 主页
  • 归档
  • 分类
  • 标签
3月
06

hexodwrong

运行hexo d命令时报错了

报错内容如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
fatal: HttpRequestException encountered.
An error occurred while sending the request.
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username for 'https://github.com': No error
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
Error: fatal: HttpRequestException encountered.
An error occurred while sending the request.
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username for 'https://github.com': No error
at ChildProcess.<anonymous> (D:\github\blog\hexo\node_modules\hexo-util\lib\spawn.js:37:17)
at emitTwo (events.js:125:13)
at ChildProcess.emit (events.js:213:7)
at ChildProcess.cp.emit (D:\github\blog\hexo\node_modules\cross-spawn\lib\enoent.js:40:29)
at maybeClose (internal/child_process.js:921:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

对上面的解决方法是:

1
$ git config http.sslVerify "false"

对于我的配置而言,这条命令并没有运行成功!!!又报了一个错误:

1
fatal: not in a git directory

这可能是因为我的电脑上没有这个目录之类的。

之后我把_config.yml文件中repository:https://github.com/shangrila-xiu/shangrila-xiu.github.io.git这个地址改为git@github.com:shangrila-xiu/shangrila-xiu.github.io.git

结果还是错的,心塞。。。。

我又还原repository的配置: https://github.com/shangrila-xiu/shangrila-xiu.github.io.git,这样就运行通过了。我都有种重新下载的冲动!!!

Share
Newer
WebDesignStep
Older
UDP

shangrila-xiu

  • 主页
  • 归档
  • 分类
  • 标签

shangrila-xiu

112
文章
101
分类
33
标签
Github

友情链接

ShanaMaid Chion Tang uestcmao Encounter 创造师 Calpa Updating! GoonX wiki tagsAndcategories property echart love 陈微明学长 vue实现h5移动端项目参考文献 vue请求java服务端并返回数据 vue与java数据交互
©2018 - 2019 shangrila-xiu
由Hexo强力驱动 | 主题-Shana
首页 标签 分类 归档
  • 苟利
  • 国家
  • 生死以
  • 岂能
  • 祸福
  • 趋避之