Question

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

Posted December 30, 2021 104 views
DigitalOceanDeploymentReact

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.
[]

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

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?