/bin/sh not found -- spawnSync
/bin/sh not found -- spawnSync
在使用execSync
执行与sh
执行的命令后,我注意到以下情况:
spawnSync /bin/sh ENOENT
bin
当前被添加到PATH。
任何想法吗?
通常原因是执行该命令的路径不存在
查看这个问题的公认答案
我如何调试"错误:产卵事件"上的node.js?
将不存在的目录传递给cwd
也可能导致此错误。再次检查作为cwd
选项传递的路径是否正确。
相关文章:
- Requirejs main.js could not be found
- JavaScript文件在IIS上返回404 Not Found
- react-css-module module not found
- aurelia-bundler gulp.js can't be found
- grails3 jquery not found
- GeckoFX JSContext not found C#
- Javascript:一个项目数组的sum-all-found.data()
- Marionette: childViewContainer was not found
- .found('.foo').text()作为数组
- window.found(文本)用于Flash部分
- Js not found spring mvc
- Ajax POST MyUrl 404 (Not Found)
- 节点webkit中的Require('jquery ui')产生navigator not found错
- xmlhttp.send() returns 404 Not Found (Ajax)
- Socket.io.js not found (node.js + express + socket.io)
- Module not found: Error: Cannot resolve module 'fs'
- “不是found"在浏览器中的明文,当试图渲染模板与swig对koajs
- 状态码:404 Not Found (from cache) |使用AngularJS的混合型应用
- not found error: DOM exception 8
- /bin/sh not found -- spawnSync