My site is Netlify App.
I am trying to deploy a Jekyll theme, jekyll-newsfeed. I have tried at least a dozen builds. Here are the major things I’ve tried:
- theme directly “out of the box” from supplier
- removed all ^ from package.json version numbers
- set environment variable NODE_VERSION to 18 (local version)
- set environment variable NPM_VERSION to 8 (local version)
Every permutation I’ve tried builds locally.
My latest build file is Deploy details | roaring-alfajores-35e9e3 (netlify.com)
Hi @Shay welcome to Netlify!
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
Thanks so much!
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).
My github repo is ShayHill/shayallenhill_site: my personal website (github.com).
My last error log is Deploy details | Netlify
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!