Build.command error for deploying exit error 2


I was able to manually deploy, but when I try and deploy continuously I keep getting a build failed error as shown below. Anyone have any ideas how to fix this issue ?

@lammerij Can you show the entire build log?

The screenshot you have provided shows it failed, but not the specifics.

I can see your build is throwing warnings though, and warnings are treated as errors by default.

So if you don’t want that to be the case, and you want to leave the warnings unfixed, you’ll need to ensure that your build command starts with CI=, like CI= npm run build.

That will disable that default behavior, so that warnings are not treated as errors.

Could you also provide us a site name please?