Question

Hi, please i nedd help with this error - Build Error: Non-Zero Exit

Posted September 10, 2021 93 views
ReactDigitalOcean App PlatformBuilding on DigitalOcean

trying to deploy a react frontend but getting Build Error: Non-Zero Exit

below is what i get. i have tried reinstalling npm and updating npm but still not working

—> Node.js Buildpack
[2021-09-10 05:02:44] —> Installing toolbox
[2021-09-10 05:02:44] —> - jq
[2021-09-10 05:02:45] —> - yj
[2021-09-10 05:02:45] —> Getting Node version
[2021-09-10 05:02:45] —> Resolving Node version
[2021-09-10 05:02:47] ERROR: failed to build: exit status 1
[2021-09-10 05:02:48]
[2021-09-10 05:02:48] For documentation on the buildpacks used to build your app, please see:
[2021-09-10 05:02:48] Node.js: https://do.co/apps-buildpack-node
[2021-09-10 05:02:48]
[2021-09-10 05:02:48] ! Build failed (145)

thanks

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi @mykelmbuotim,

Can you post the engines section of your package.json file?