Comments (4)
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.
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.
Had the same issue but redeploying the graphql and deleting the .cache
folder fixes it
from example-company-website-gatsby-sanity-combo.
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)
- Running `yarn run sanity-deploy` at the root, just hangs HOT 2
- sanity-deploy from a fresh install fails to deploy/build properly HOT 8
- Unknown field '_rawBody' on type 'SanityDynamicPage' HOT 3
- Site deploy fails to build with "failed during stage 'building site': Deploy directory 'web/web/public' does not exist" HOT 1
- Missing "Site settings"... HOT 8
- Using Gatsby Cloud - Preview build fails HOT 1
- "Site Settings", "Company Info", "Pages" not editable on first run HOT 4
- I can't add pages from sanity HOT 3
- "See the example up and running" in README.md just links to youtube video HOT 1
- Fails to deploy to Netlify. `Error: 'darwin-x64' binaries cannot be used on the 'linux-x64' platform.'
- Gatsby - Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './is-truthy' is not defined by "exports" in.. HOT 1
- npm run now-deploy HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from example-company-website-gatsby-sanity-combo.