Question

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

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


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @mykelmbuotim,

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