Question

How to fix Deploy Error: Non-Zero Exit Code While Deploying My React JS App?

Hi ocean team, I currently experience errors on my deployment this quite interesting to me that there is no indication having problems on my logs. What I have here is the logs from the errors. Any one experience this errors?

[2021-12-30 09:49:07] yarn run v1.22.17 [2021-12-30 09:49:07] $ react-scripts start [2021-12-30 09:49:12] ℹ 「wds」: Project is running at http://xx.xxx.xx.xxx/ [2021-12-30 09:49:12] ℹ 「wds」: webpack output is served from [2021-12-30 09:49:12] ℹ 「wds」: Content not from webpack is served from /workspace/public [2021-12-30 09:49:12] ℹ 「wds」: 404s will fallback to / [2021-12-30 09:49:12] Starting the development server… [2021-12-30 09:49:12] [2021-12-30 09:49:12] Done in 4.97s. [2021-12-30 09:48:55] yarn run v1.22.17 [2021-12-30 09:48:55] $ react-scripts start [2021-12-30 09:48:59] ℹ 「wds」: Project is running at http://xx.xxx.xx.xxx/ [2021-12-30 09:48:59] ℹ 「wds」: webpack output is served from [2021-12-30 09:48:59] ℹ 「wds」: Content not from webpack is served from /workspace/public [2021-12-30 09:48:59] ℹ 「wds」: 404s will fallback to / [2021-12-30 09:48:59] Starting the development server… [2021-12-30 09:48:59] [2021-12-30 09:48:59] Done in 4.20s. []


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.

Unless the log you show above is just a part of the entire stacktrace, because from what you posted, I could not see any error.

When do you get the Error: Non-Zero Exit Code? Do you experience same error when you try running on your local machine?