Thanks so much for reaching out and i’m sorry to hear about the errors you’ve had with your builds. Likely if your build works locally but fails on Netlify there could be an issue in your code. Can you check your code?
Following that please can you have a look through this resource 7? It is a compilation of all of our build and deploy resources. This will be a good starting point.
If those resources don’t get you on the right track, can you share a bit more information about what you are trying to accomplish?
Lastly, please share these additional details so we can look into your experience further:
your project repo
a full copy of your latest deploy log
what you have already tried
any error messages you have received in your terminal window or in the developer console
I’ve spent some time with “the resource”. Installed and tried to run the Netlify CLI. Got buried in errors, most of which were some version of npm ERR! gyp ERR! .... I’ve set environment variables for NODE and NPM (not using YARN).
If your build works locally, our next best advice would be to ensure the package versions we use to build match the ones you use in your own development environment.** You can find the settings for these in our Build Settings doc. That’s the leading cause of build failures. Please keep us posted!