pedronauck / gatsby-starter-docz

📝 Gatsby starter with Docz and a blog for your documentation
https://gatsby-docz.netlify.com
MIT License
90 stars 32 forks source link

Error with Layout.tpl.js and GraphQL error - Duplicated documents: - DefaultSEOQuery #3

Open yashasolutions opened 5 years ago

yashasolutions commented 5 years ago

This is the error I get when I follow the install guide.

 ERROR 

There was a problem parsing "/home/user/project_dir/node_modules/gatsby-theme-docz/templates/Layout.tpl.js"; any GraphQL fragments or queries in this file were not processed.
This may indicate a syntax error in the code, or it may be a file type that Gatsby does not know how to parse.

 ERROR #85901  GRAPHQL

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:
- DefaultSEOQuery

Any idea how to fix that?

MarijnBrosens commented 5 years ago

I have the same issue, did you solve it @yashasolutions

langermank commented 5 years ago

Did anyone find a way around this issue yet?

jakelacey2012 commented 5 years ago

Anyone manage to solve this?

jakelacey2012 commented 5 years ago

So a little fiddling, I've found if you upgrade to gatsby-theme-docz@next it fixes this issue.

jeffersonnnn commented 4 years ago

if this doesn't solve the issue, please install gatsby-theme-docz@2.0.0-rc.1

Zara603 commented 2 years ago

I have this issue :-(