Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

err: Error: Spawn failed at ChildProcess.<anonymous> #193

Closed
5 tasks done
reinsss opened this issue Oct 3, 2020 · 9 comments
Closed
5 tasks done

err: Error: Spawn failed at ChildProcess.<anonymous> #193

reinsss opened this issue Oct 3, 2020 · 9 comments

Comments

@reinsss
Copy link

reinsss commented Oct 3, 2020

Check List

Please check followings before submitting a new issue.

Question

error message:

[master 3d5a622] Site updated: 2020-10-03 20:27:08
 2 files changed, 2 insertions(+), 2 deletions(-)
fatal: could not read Username for 'https://github.com': No such file or directory
FATAL {
  err: Error: Spawn failed
      at ChildProcess.<anonymous> (C:\CODE\blog\node_modules\hexo-deployer-git\node_modules\hexo-util\lib\spawn.js:51:21)
      at ChildProcess.emit (events.js:315:20)
      at ChildProcess.cp.emit (C:\CODE\blog\node_modules\cross-spawn\lib\enoent.js:34:29)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) {
    code: 128
  }
}

I'm pretty new to this. Don't know how to solve it after trying several methods.

Environment & Settings

Node.js & npm version

Node.js version v12.18.4.
npm version 6.14.6

Hexo and Plugin version(npm ls --depth 0)

hexo version 5.2.0
@yoshinorin
Copy link
Member

@reinsss

Please check your deploy settings.
I think the below issue will help you :)

hexojs/hexo#2778

@stevenjoezhang stevenjoezhang transferred this issue from hexojs/hexo Oct 5, 2020
@stevenjoezhang
Copy link
Member

There is a discussion about it: #71
I'm closing this issue. Please join the discussion there :)

@codefishyyf
Copy link

FATAL {
err: Error: Spawn failed
at ChildProcess. (E:\myBlog\codefishyyfBlog\node_modules\hexo-util\lib\spawn.js:51:21)
at ChildProcess.emit (events.js:375:28)
at ChildProcess.cp.emit (E:\myBlog\codefishyyfBlog\node_modules\cross-spawn\lib\enoent.js:34:29)
at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) {
code: 128
}
} Something's wrong. Maybe you can find the solution here: %s https://hexo.io/docs/troubleshooting.html
报了这个错,不知道怎么解决

@Wakeuppppp
Copy link

I have used many solutions but not worked.
The following method works for me.
My computer connects my mobile phone's hotspot, and succussed

@mcveh
Copy link

mcveh commented Nov 26, 2022

Error: Spawn failed
at ChildProcess. (/data/data/com.termux/files/home/blog/node_modules/hexo-util/lib/spawn.js:51:21)
at ChildProcess.emit (node:events:513:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
emm不知道为什么

@Wakeuppppp
Copy link

Error: Spawn failed at ChildProcess. (/data/data/com.termux/files/home/blog/node_modules/hexo-util/lib/spawn.js:51:21) at ChildProcess.emit (node:events:513:28) at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) emm不知道为什么

报错下面还有错误代码, 你没粘贴上来.
你可以试试用手机给电脑开热点, 这对我有用

@namaemonaishi
Copy link

Error: Spawn failed at ChildProcess. (/data/data/com.termux/files/home/blog/node_modules/hexo-util/lib/spawn.js:51:21) at ChildProcess.emit (node:events:513:28) at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) emm不知道为什么

可以试试用手机给电脑开热点

@Jf710001011
Copy link

跟网络有关:打开/关闭代理重试

@SlientRainyDay
Copy link

跟网络有关:打开/关闭代理重试

感谢 有用

@hexojs hexojs locked as off-topic and limited conversation to collaborators Mar 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants