Closed SpacemanPete closed 5 years ago
Thanks for reporting! Seems like Gatsby had removed the createPageDependency
method :/
I've updated the template, but you'll have to make the same changes to your local copy as well: https://github.com/sanity-io/sanity-template-gatsby-portfolio/commit/c247567c6d882810a63cd7e25fbe3885f478e856
@rexxars , tahnks for the quick fix Espen! I was scratching my head on this for so long. I commented out that call and the site started building but the Gatsby docs seemed to describe that method as being necessary and did't mention anything about that method being deprecated yet. I assume it's a new change and will be updated int he docs soon enough. Glad you got to the bottom of it.
Hello!
I tried to spin up a new project using the Portfolio Template from
sanity.io/create
. The studio netlify site builds fine but the Gatsby site on Netlify fails in its first deploy job with the error message:I did no customizations to the codebase, I just used the form on the template create page and authorized the connections to my accounts for Sanity, Github, and Netlify.
I'll copy the full output of the Netlify deploy job for troubleshooting: