Command failed with exit code 1: npm run build

Hi all, please kindly help me

I tried to deploy my react apps with netlify, but I always failed and got this error.

this is my repo link GitHub - silviaphungky/covid19-apps

anyone know how to solve it? I have tried a lot way but still failed :frowning:

Thank you before ^^

Hi, @silvia16, would you please test changing the build command from this:

npm run build

to this:

CI= npm run build

If that doesn’t resolve the issue, would you please send us a link to the build logs?

1 Like

That saved me from constant failed deploys! Thank you!!