Your build is failing because the default behavior is that warnings are treated as errors.
The easiest way to disable this is to change your Build command from npm run build
to CI= npm run build
.
This will set CI
to false
.
You can read more about it here:
2 Likes