err: Error: spawn Unknown system error -86

349 views
Skip to first unread message

境界の彼方

unread,
May 2, 2022, 8:52:33 AMMay 2
to Hexo
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.
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
Reply all
Reply to author
Forward
0 new messages