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

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?

A post was split to a new topic: Build error question for “npm ERR! Exit status 1”