$ hexo d 后出现了这个
warning: LF will be replaced by CRLF in fancybox/jquery.fancybox.pack.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in index.html.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in js/script.js.
The file will have its original line endings in your working directory.
On branch master
nothing to commit, working directory clean
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/docs/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
at ChildProcess.<anonymous> (E:\hexo\node_modules\hexo-deployer-git\node_modules\hexo-util\lib\spawn.js:42:17)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:817:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
Git does not configure user and email address! Check whether the configuration of the _config.yml file is correct!
Try using git bash to execute hexo d
I have encountered this problem before because I used the windows command line....
Search git crlf
I guess you are in trouble. I just finished the deployment and wrote a note. Take a look at www.zhouyalin.com
There may be a problem with your github username configuration. Check your configuration file carefully.
I remember to use git in hexo configuration. You cannot write https
When you are asked to enter the github password, the device node /dev/tty cannot be opened, and the username and password cannot be entered because you are using Windows and the device node does not exist.
I don’t know if the deployment tool you use is hexo-deployer-git? This problem should be solved now. If it doesn't work, you can report the problem to github.
Change the terminal, such as ps. . .
https://www.gehaowu.com/notes/2015/09/MINGW64-HEXO-TTY-ERROR/
The folded one, actually I didn’t explain it clearly, I probably changed it like this and it was successful
repository: ssh://git@github.com/Rookiexu/Rookiexu.github.io.git
You need to use ssh in the configuration. It seems that http is not working well now.