hexo部署报错 spawn failed
问题出现:原本是在mac正常使用的, 切换到windows时突然出现这个报错fatal: in unpopulated submodule '.deploy_git'FATAL {err: Error: Spawn failedat ChildProcess.<anonymous> (D:\workplace\blog\node_modules\hexo-util\lib\spawn.
·
- 问题出现:原本是在mac正常使用的, 切换到windows时突然出现这个报错
fatal: in unpopulated submodule '.deploy_git'
FATAL {
err: Error: Spawn failed
at ChildProcess.<anonymous> (D:\workplace\blog\node_modules\hexo-util\lib\spawn.js:51:21)
at ChildProcess.emit (events.js:376:20)
at ChildProcess.cp.emit (D:\workplace\blog\node_modules\cross-spawn\lib\enoent.js:34:29)
at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) {
code: 128
}
}
- 解决: 把根目录下的 .deploy_git 目录删除即可
更多推荐
已为社区贡献1条内容
所有评论(0)