The Wayback Machine - http://web.archive.org/web/20220622060020/https://github.com/hexojs/hexo/discussions/4958
Skip to content

err: Error: spawn Unknown system error -86 #4958

Answered by yoshinorin
greenhaha asked this question in Q&A
err: Error: spawn Unknown system error -86 #4958

May 2, 2022 · 1 answer

when i npm run deploy it with my M1 macbookPro.
the cmder always output err: Error: spawn Unknown system error -86 so how should i do solution this problem.
enverment:
macBookPro M1
macOS Monterey 12.2.1
node: 16.15.0
cmder output infomation

FATAL {
  err: Error: spawn Unknown system error -86
      at ChildProcess.spawn (node:internal/child_process:413:11)
      at Object.spawn (node:child_process:700:9)
      at spawn (/Users/workspace/myblog/blog/node_modules/cross-spawn/index.js:12:24)
      at /Users/workspace/myblog/blog/node_modules/hexo-util/lib/spawn.js:18:18
      at Promise._execute (/Users/workspace/myblog/blog/node_modules/bluebird/js/release/debuggability.js:384:9)
      at Promise._resolveFromExecutor (/Users/workspace/myblog/blog/node_modules/bluebird/js/release/promise.js:518:18)
      at new Promise (/Users/workspace/myblog/blog/node_modules/bluebird/js/release/promise.js:103:10)
      at promiseSpawn (/Users/workspace/myblog/blog/node_modules/hexo-util/lib/spawn.js:17:10)
      at git (/Users/workspace/myblog/blog/node_modules/hexo-deployer-git/lib/deployer.js:51:12)
      at /Users/workspace/myblog/blog/node_modules/hexo-deployer-git/lib/deployer.js:64:14
      at tryCatcher (/Users/workspace/myblog/blog/node_modules/bluebird/js/release/util.js:16:23)
      at Promise._settlePromiseFromHandler (/Users/workspace/myblog/blog/node_modules/bluebird/js/release/promise.js:547:31)
      at Promise._settlePromise (/Users/workspace/myblog/blog/node_modules/bluebird/js/release/promise.js:604:18)
      at Promise._settlePromise0 (/Users/workspace/myblog/blog/node_modules/bluebird/js/release/promise.js:649:10)
      at Promise._settlePromises (/Users/workspace/myblog/blog/node_modules/bluebird/js/release/promise.js:729:18)
      at _drainQueueStep (/Users/workspace/myblog/blog/node_modules/bluebird/js/release/async.js:93:12) {
    errno: -86,
    code: 'Unknown system error -86',
    syscall: 'spawn'
  }
} Something's wrong. Maybe you can find the solution here: %s https://hexo.io/docs/troubleshooting.html

@greenhaha
Maybe it is caused by git.
Try to check your git by following the StackOverflow answer.

https://stackoverflow.com/a/70993828/11202742

Replies

1 suggested answer

@greenhaha
Maybe it is caused by git.
Try to check your git by following the StackOverflow answer.

https://stackoverflow.com/a/70993828/11202742

0 replies
Answer selected by yoshinorin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants