https://github.com/codeandweb/gatsby-3-migration-issue
Demonstrates an issue when running queries during createPages()
https://github.com/codeandweb/gatsby-3-migration-issue
Last synced: 8 months ago
JSON representation
Demonstrates an issue when running queries during createPages()
- Host: GitHub
- URL: https://github.com/codeandweb/gatsby-3-migration-issue
- Owner: CodeAndWeb
- Created: 2021-03-08T16:45:30.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-08T17:01:42.000Z (over 5 years ago)
- Last Synced: 2025-06-01T02:55:35.761Z (about 1 year ago)
- Language: JavaScript
- Size: 395 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demonstrates an issue I currently have in Gatsby 3
Reproduce:
git clone https://github.com/CodeAndWeb/gatsby-3-migration-issue.git
yarn install
Everything is ok from the start:
gatsby develop --verbose
Visit http://localhost:8000/___graphql

Edit `gatsby-node.js` and uncomment the following lines:
const result = await graphql(`
query {
allMdx {
nodes {
slug
}
}
}
`)
console.log(JSON.stringify(result, null, 4))
Re-start gatsby and visit http://localhost:8000/___graphql
