这个问题我已经几个月了。在哪里,我无法将React应用部署到GitHub页面。即使有任何项目,我仍然会收到此错误。
error: cannot spawn sh: No such file or directory
fatal: unable to fork
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-recipe-app@0.1.0 deploy: `gh-pages -d build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-recipe-app@0.1.0 deploy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
我已经尝试过solution,但没有区别。
我一直在关注此documentation。