A
A
adizh2021-06-25 12:31:45
Software Deployment
adizh, 2021-06-25 12:31:45

Error: Command "yarn run build" exited with 1?

I'm trying to deploy a react app in vercel, but it gives an error:
Error: Command "yarn run build" exited with 1
error Command failed with exit code 1.
Treating warnings as errors because process.env.CI = true.
Most CI servers set it automatically.
Failed to compile.
Same problem on Heroku.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
approximate solution, 2021-06-25
@approximate_solution

Try Netlify
I think it's more user friendly
https://www.netlify.com/blog/2016/07/22/deploy-rea...
UPDs:
https://github.com/vercel/vercel/discussions/ 5566 this thread watched?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question