GithubHelp home page GithubHelp logo

Comments (4)

ibanlopez avatar ibanlopez commented on August 20, 2024

Hi,

Same problem for me but I've followed a different configuration following https://www.sanity.io/blog/live-coding-with-gatsby-js-and-sanity-io-how-to-make-a-portfolio-website to the letter.

It's like graphiql did not know anything about the sanity studio schema.

I followed gatsby-source-sanity plugin instructions, set up sanity studio and schemas, deployed graphql API enabling Graphql playgroung which works as expected, but for Gatsby graphiql interface is like data did not exist.

I'm wondering if there's any step missing for me.

Thanks a lot.

from example-company-website-gatsby-sanity-combo.

bugduino avatar bugduino commented on August 20, 2024

I have recloned the repo today, yarn install, yarn run init (using the project and dataset that I already created) and after that yarn start shows no errors related to graphql. Did one of the last commit solved the issue?
Anyway there's still a little bug, I had to yarn add gatsby-react-router-scroll in the web/ folder to make it working, but now seems fine.

from example-company-website-gatsby-sanity-combo.

zRelux avatar zRelux commented on August 20, 2024

Had the same issue but redeploying the graphql and deleting the .cache folder fixes it

from example-company-website-gatsby-sanity-combo.

fullspectrumprocessing avatar fullspectrumprocessing commented on August 20, 2024

Hey guys Im getting this error too but deleting cache and redeploying graphql is not working.
Any other solutions.

from example-company-website-gatsby-sanity-combo.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.