Error: Unable to serialize object as a key

40 views Asked by At

I am trying to deploy a Gatsby+Sanity homepage to Netlify. Both the Gatsby homepage and the Sanity CRM is runnig fine locally but I keep getting this error when I try to deploy it online.

deploy log 1 of 2

deploy log 2 of 2

This is an official build from a the Gatsby developer team. I closely followed their setup steps-https://github.com/gatsbyjs/gatsby-starter-sanity-homepage-ts

1

There are 1 answers

0
Sean On

For me, reverting gatsby-source-sanity to 7.6.3 resolved the issue. I believe 7.7.0 introduced a bug that affects the starter.