> facerecognitionbrain@0.1.0 predeploy D:\Web Design Backup Files\face-recogniti
on-app
> npm run build
> facerecognitionbrain@0.1.0 build D:\Web Design Backup Files\face-recognition-a
pp
> react-scripts build
Creating an optimized production build...
Compiled successfully.
File sizes after gzip:
62.14 KB build\static\js\1.b8657c84.chunk.js
12.85 KB build\static\css\1.92aa9987.chunk.css
5.88 KB build\static\js\main.8941c490.chunk.js
776 B build\static\js\runtime~main.6de2bf8d.js
621 B build\static\css\main.1e11d24f.chunk.css
The project was built assuming it is hosted at /face-recognition-app/.
You can control this with the homepage field in your package.json.
The build folder is ready to be deployed.
To publish it at https://iamtheasad.github.io/face-recognition-app, run:
npm run deploy
Find out more about deployment here:
> facerecognitionbrain@0.1.0 deploy D:\Web Design Backup Files\face-recognition-
app
> gh-pages -d build
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
error: RPC failed; curl 55 OpenSSL SSL_write: SSL_ERROR_ZERO_RETURN, errno 10053
Everything up-to-date
npm错误!代码ELIFECYCLE npm ERR! errno 1 npm ERR! facerecognitionbrain@0.1.0部署:
gh-pages -d build
npm ERR!退出状态1 npm ERR! npm ERR!在facerecognitionbrain@0.1.0部署脚本处失败。 npm ERR! npm可能不是问题。可能还有其他日志 上面的ging输出。npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Rana\AppData\Roaming\npm-cache\_logs\2019-03-01T17_51_58_0 63Z-debug.log
答案 0 :(得分:0)
这可能是您的本地git配置存在问题,或者是由某些不良的网络状态或提交中包含的一些大文件引起的。就我而言,我尝试了几分钟后就成功了。
所以我建议您应该以一定的时间间隔多次推送,或者增加缓冲区大小,然后尝试再次推送?
git config --global http.postBuffer 15728640