ReactJS:部署时出现gh-pages错误无法生成sh:没有此类文件或目录,无法分叉

时间:2018-08-13 00:57:32

标签: reactjs github npm github-pages

这个问题我已经几个月了。在哪里,我无法将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

0 个答案:

没有答案