I'm able to start the app locally but when attempting to deploy the site, I'm getting the following error log

Between the Failed to compile. text and npm ERR! code ELIFECYCLE there seems to be a couple warnings i.e. use of == instead of === and unused variables.
Build command npm run build
Publish directory tried both build and build/
Is that what's really causing the failure to deploy or is it something else?
process.env.CIis set to true. In local env, these warnings wont interfere in your build. The best option would be to fix these warnings or try to disable thelintfor those specific ones which you want to ignore.Netlifycommunity themselves community.netlify.com/t/…