-
Notifications
You must be signed in to change notification settings - Fork 31
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
Bug: Error in your GraphQL query due to example page query #44
Comments
using the useStaticQuery hook or ommiting the name of the query should fix this problem |
are you still on gatsby v1? is it possible to upgrade to gatsby v2? if so, then you can use the v2 version of this plugin. if not, then you (or me) needs to open a PR and merge the equivalent to this PR but for the i can do it this weekend if you're unavailable |
no i am at v2 but it was related to this issue here so i fixed it by updating your plugin. thanks for the help though. have a nice weekend! |
fixed by updating to "gatsby-plugin-mailchimp": "^5.1.2" |
I get the following error:
There was an error in your GraphQL query:
Error: RelayParser: Encountered duplicate defintitions for one or more documents: each document must have a unique name. Duplicated documents:
the mentioned query is used duplicated in the gatsby v1 example and gatsby v2 example in the layouts/index.js
/node_modules/gatsby-plugin-mailchimp/examples/gatsby-v1/src/layouts/index.js
during yarn dev and build
The text was updated successfully, but these errors were encountered: