Replies: 3 comments
-
I want to add that I am not mutating any data so DETECT_NODE_MUTATIONS isn't helping |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is a bit urgent for a site launch as usual.. can someone point me to where in the gatsby source to debug this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing this, turns out there was another env pointing to a different dataset for the build command :( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have a Gatsby site that I upgraded from an older version
v2
to latestv5.9.0
and a page template graphql query started missing data in production that it has in development mode. It has some of the data but not all of it. This only happens in production mode, in development the data is all there as expected.I can verify this by running
gatsby build
andgatsby serve
locally and the data is missing, and its also missing in the vercel deployment. Has anyone seen this before?Here is my graphql page query in
src/templates/school.js
that works in development mode fine. In production modeschool
has data butstudents
andprojects
is an empty array.This page is created from gatsby node
exports.createPages
:In development the console log of data/students (note there is data):
In production the console log of data/students (note there is no data):
Beta Was this translation helpful? Give feedback.
All reactions