hexo: 3.7.1
hexo-cli: 1.1.0
os: Windows_NT 10.0.16299 win32 x64
http_parser: 2.7.0
node: 8.9.1
v8: 6.1.534.47
uv: 1.15.0
zlib: 1.2.11
ares: 1.10.1-DEV
modules: 57
nghttp2: 1.25.0
openssl: 1.0.2m
icu: 59.1
unicode: 9.0
cldr: 31.0.1
tz: 2017b
Your site _config.yml (Optional):
# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
type: git
repo: https://github.com/mashirozx/Next.git
branch: master
Hexo and Plugin version(npm ls --depth 0):
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]
Unable to push via https://github.com/mashirozx/Next.git
It shows:
On branch master
nothing to commit, working tree clean
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> (C:\WorkDirectory\GitHub\Next\node_modules\hexo-util\lib\spawn.js:37:17)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at ChildProcess.cp.emit (C:\WorkDirectory\GitHub\Next\node_modules\cross-spawn\lib\enoent.js:40:29)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
PS C:\WorkDirectory\GitHub\Next> nodejs -v
nodejs : The term 'nodejs' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ nodejs -v
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (nodejs:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Also I tried using [email protected]:mashirozx/Next.git
But I'm unable to input y in Windows CMD/PowerShell here:

y on Windows? 😂Good day @mashirozx 👋
Is there any way you can run openssh ssh-agent on Windows and add your ssh key on github?
Alternatively sometimes auth can be done over https like this:
https://user:[email protected]/mashirozx/Next.git
My apologies if you've already tried these and it didn't work.
@tcrowe Well, https://user:[email protected]/mashirozx/Next.git works, thank you! :laughing:
Hooray! 😀
Most helpful comment
@tcrowe Well,
https://user:[email protected]/mashirozx/Next.gitworks, thank you! :laughing: