You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previous to December 7, 2022 Netlify automatic deploys using a connected git repo with our Gatsby site worked fine. On December 7 they began failing with no major changes to the repo that would seem to effect build.
I've troubleshooted some related issues with the build but the root cause seems to be this package:
Here is a screenshot. For the complete log please see the build logs section below.
Steps to reproduce
This is a live Sanity project that will only build properly with a Sanity CMS connected. To keep our CMS data safe here are instructions to recreate the entire project on your own Sanity instance:
Create your own blank Sanity CMS project at Sanity.io
Add your own Sanity projectId to the following files:
studio/sanity.json
web/.env.production
web/client-config.js
Use node version 12.18.0 (see .nvmrc file)
Run npm install --legacy-peer-deps
Deploy schemas to Sanity Studio with graphql-deploy command in project root directory
See that it runs locally with npm run dev. The site will be live at localhost:8000 (you'll have to whitelist your localhost on the Sanity CMS of course)
You may need to build the project with npm run build
You will need to add your Sanity project ID and API keys to your Netlify environment variables
Deploy your local branch manually to Netlify using the CLI commands netlify deploy or netlify deploy --prod to see that it works
Part 2 - Getting the repo to fail using Netlify CI automatic deploys
Push your local branch to your own repo on your own github org
Summary
Previous to December 7, 2022 Netlify automatic deploys using a connected git repo with our Gatsby site worked fine. On December 7 they began failing with no major changes to the repo that would seem to effect build.
I've troubleshooted some related issues with the build but the root cause seems to be this package:
Here is a screenshot. For the complete log please see the build logs section below.
Steps to reproduce
This is a live Sanity project that will only build properly with a Sanity CMS connected. To keep our CMS data safe here are instructions to recreate the entire project on your own Sanity instance:
Part 1 - To build the site locally
npm install --legacy-peer-deps
graphql-deploy
command in project root directorynpm run dev
. The site will be live at localhost:8000 (you'll have to whitelist your localhost on the Sanity CMS of course)npm run build
netlify deploy
ornetlify deploy --prod
to see that it worksPart 2 - Getting the repo to fail using Netlify CI automatic deploys
A link to a reproduction repository
https://github.com/MAU-Estate/public-testing-repo
Plugin version
3.6.2
More information about your build
netlify.toml
)What OS are you using?
Mac OS
Your netlify.toml file
`netlify.toml`
Configuration
`gatsby-config.js` and options
Environment
Environment
Gatsby info
gatsby info
Your _redirects file
`_redirects`
Builds logs (or link to your logs)
Build logs
Function logs
Function logs
The text was updated successfully, but these errors were encountered: