按照官网的 deployment 的流程,走到 hexo d 的时候死活不行。。。网上查了很多资料,还是不行。
win 的环境,配置了_config.yml 文件之后, hexo g, hexo d..
delete mode 100644 placeholder
warning: LF will be replaced by CRLF in js/script.js.
The file will have its original line endings in your working directory.
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': Invalid argument
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/do cs/troubleshooting.html
Error: 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': Invalid argument
1
DoraJDJ 2016 年 7 月 1 日
|
2
sophymax 2016 年 7 月 1 日
配置不好就直接把那个目录 git 提交就可以了 , 没必要花时间在它上边
|
4
kokutou 2016 年 7 月 1 日
_config.yml 为啥不贴出来。
|
5
xjtlujoe OP @kokutou # Deployment
## Docs: https://hexo.io/docs/deployment.html deploy: type: git repo: https://github.com/zpike/zpike.github.io.git |
7
popu111 2016 年 7 月 1 日
可以试试 [email protected] ,以及我记得我用 cygwin 就会出错,用 cmd 就啥事没有
|
8
dixyes 2016 年 7 月 1 日 via Android 或许你该试试到.deploy_git 目录手动 push 下试试 看看 git 提示啥错误
|
9
dixyes 2016 年 7 月 1 日 via Android
顺便 你该提及下你的 shell 是啥 bash 一直找不到 tty
|
12
helloit 2016 年 7 月 1 日
要这样写:
------------------------------------------------------------------------ deploy: type: git repo: [email protected]:username/username.github.io.git ------------------------------------------------------------------------ |
13
Eugene1024 2016 年 9 月 10 日
遇到相同的问题,还是没有解决 、、、
|
14
xjtlujoe OP @Eugene1024 把用户名和邮箱都写在 deploy 就行了, win 下我是这么弄的
|
15
springsummer 2017 年 3 月 11 日 type : git
repo : xxx 冒号后面一定要两个空格!!!! |
16
ByteChen 2018 年 3 月 25 日
@springsummer 老哥,稳!完美解决问题!
|
17
EdisonR 2018 年 12 月 21 日
@springsummer 老哥!稳
|