简体   繁体   English

Netlify 部署 node.js + React

[英]Netlify deploy node.js + React

HI!你好!

When netlify start deploy my project from github, Netlify write "Production deploy faild" or something else.当 netlify 开始从 github 部署我的项目时,Netlify 会写“生产部署失败”或其他内容。

Logs:日志:

5:49:44 PM: %
5:51:23 PM: curl: (56) GnuTLS recv error (-110): The TLS connection
5:51:23 PM: was non-properly terminated.
5:51:23 PM: Binary download from https://nodejs.org/dist/v10.17.0/node-v10.17.0.tar.xz failed, trying source.
5:51:23 PM: grep: /opt/buildhome/.nvm/.cache/src/node-v10.17.0/node-v10.17.0.tar.xz
5:51:23 PM: : No such file or directory
5:51:23 PM: Provided file to checksum does not exist.
5:51:23 PM: Failed to install node version '10'
5:51:23 PM: Error running command: Build script returned non-zero exit code: 1
5:51:23 PM: Failing build: Failed to build site
5:51:29 PM: failed during stage 'building site': Build script returned non-zero exit code: 1
5:51:29 PM: Finished processing build request in 5m20.05692486s

When i use netlify package in my CMD all good with deploy.当我在我的 CMD 中使用 netlify package 时,部署都很好。 What i can to do with this?我能用这个做什么?

if you noticed here on the logs:如果您在日志中注意到这里:

5:51:23 PM: curl: (56) GnuTLS recv error (-110): The TLS connection
5:51:23 PM: was non-properly terminated.
5:51:23 PM: Binary download from https://nodejs.org/dist/v10.17.0/node-v10.17.0.tar.xz failed, trying source.
5:51:23 PM: grep: /opt/buildhome/.nvm/.cache/src/node-v10.17.0/node-v10.17.0.tar.xz

it had an issue with the internet connection or you have a permission issue trace the log and every thing will be ok ^_^互联网连接有问题,或者您有权限问题跟踪日志,一切都会好的^_^

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM