hexo d 上传报错,是什么原因

2016-12-31 18:29:34 +08:00
 xoboy

The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in tags/设计 /index.html. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in tags/随笔 /index.html. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in tags/鸡汤 /index.html. 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': No error 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': No error

at ChildProcess.<anonymous> (E:\Web\NodeJs\Git\liurong\node_modules\hexo-util\lib\spawn.js:37:17)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at ChildProcess.cp.emit (E:\Web\NodeJs\Git\liurong\node_modules\cross-spawn\lib\enoent.js:40:29)
at maybeClose (internal/child_process.js:885:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226: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://github.com': No error

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': No error

at ChildProcess.<anonymous> (E:\Web\NodeJs\Git\liurong\node_modules\hexo-util\lib\spawn.js:37:17)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at ChildProcess.cp.emit (E:\Web\NodeJs\Git\liurong\node_modules\cross-spawn\lib\enoent.js:40:29)
at maybeClose (internal/child_process.js:885:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
2474 次点击
所在节点    问与答
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/331474

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX