-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[gatsby-transformer-csv] on Build unable to render #9773
Comments
Closing this as it definitely had something to do with my code. I simplified the implementation and it built fine. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I'm parsing a local CSV and in develop mode I can query the nodes in GraphQL. Using the query in my component in develop mode works fine. But when running "Gatsby Build" I experience an error.
Steps to reproduce
Gatsby Node has the following:
My GraphQL query is as follows:
In my parent component I'm passing the data down as follows:
And in that child component:
Expected result
Component should render a list of questions and answers
Actual result
Console throws this error (only when running
gatsby build
)Environment
If I try to output {item} instead of {item.Question}, I get a React error:
The text was updated successfully, but these errors were encountered: