Hexo deploy, github can normally push files, and will report an error when coding turns. Ssh checked, github and coding can be connected
$ ssh -T git@github.com
Hi Zohar727! You've successfully authenticated, but GitHub does not provide shell access.
$ ssh -T git@git.coding.net
Hello zohar727! You've connected to Coding.net via SSH successfully!
Profile information:
# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
type: git
repo:
github: https://github.com/Zohar727/Zohar727.github.io.git,master
coding: https://git.coding.net/zohar727/zohar727.git,master
Error message (github normal push, coding error message):
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username for 'https://git.coding.net/': 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://git.coding.net/': Invalid argument
At ChildProcess.<anonymous> (H:\ front end development \ hexo \ node _ modules \ hexo-deployer-git \ node _ modules \ hexo-util \ lib \ spann.js: 37: 17)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
At ChildProcess.cp.emit (H:\ front end development \ hexo \ node _ modules \ hexo-deployer-git \ node _ modules \ hexo-util \ node _ modules \ cross-spann \ lib \ enoent.js: 40: 29)
at maybeClose (internal/child_process.js:829:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
FATAL bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username for 'https://git.coding.net/': Invalid argument
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://git.coding.net/': Invalid argument
At ChildProcess.<anonymous> (H:\ front end development \ hexo \ node _ modules \ hexo-deployer-git \ node _ modules \ hexo-util \ lib \ spann.js: 37: 17)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
At ChildProcess.cp.emit (H:\ front end development \ hexo \ node _ modules \ hexo-deployer-git \ node _ modules \ hexo-util \ node _ modules \ cross-spann \ lib \ enoent.js: 40: 29)
at maybeClose (internal/child_process.js:829:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
There have been many attempts at profile information:
It is invalid to replace https with ssh.
It is invalid to replace the branch of coding with coding-pages
This problem can be changed, you usehexo backupThis plug-in should solve the problem.