You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
Hi,
I am trying to run a gatsby application on my local Windows machine and it is working as expected with no errors. However, when I try to dockerize the application I get a bunch of errors:
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "image" on type "MarkdownRemarkFields".
If you don't expect "image" to exist on the type "MarkdownRemarkFields" it is
most likely a typo.
However, if you expect "image" to exist there are a couple of solutions to
common problems:
File: src/gatsby-theme-apollo-docs/components/template.js:214:11
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "graphManagerUrl" on type "MarkdownRemarkFields".
If you don't expect "graphManagerUrl" to exist on the type
"MarkdownRemarkFields" it is most likely a typo.
However, if you expect "graphManagerUrl" to exist there are a couple of
solutions to common problems:
File: src/gatsby-theme-apollo-docs/components/template.js:215:11
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "image" on type "MdxFields".
If you don't expect "image" to exist on the type "MdxFields" it is most likely a
typo.
However, if you expect "image" to exist there are a couple of solutions to
common problems:
File: src/gatsby-theme-apollo-docs/components/template.js:228:11
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "graphManagerUrl" on type "MdxFields".
If you don't expect "graphManagerUrl" to exist on the type "MdxFields" it is
most likely a typo.
However, if you expect "graphManagerUrl" to exist there are a couple of
solutions to common problems:
File: src/gatsby-theme-apollo-docs/components/template.js:229:11
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "image" on type "MarkdownRemarkFields".
If you don't expect "image" to exist on the type "MarkdownRemarkFields" it is
most likely a typo.
However, if you expect "image" to exist there are a couple of solutions to
common problems:
File: node_modules/gatsby-theme-apollo-docs/src/components/template.js:244:11
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "image" on type "MdxFields".
If you don't expect "image" to exist on the type "MdxFields" it is most likely a
typo.
However, if you expect "image" to exist there are a couple of solutions to
common problems:
File: node_modules/gatsby-theme-apollo-docs/src/components/template.js:259:11
I compared the template.js in node_modules/gatsby-theme-apollo-docs/src/components/template.js on my Windows machine and in the Linux docker container and there were some differences.
Here is the node_modules/gatsby-theme-apollo-docs/src/components/template.js on my Windows file:
export const pageQuery = graphql\n
query PageQuery($id: String) {`
site {
pathPrefix
siteMetadata {
title
description
}
}
file(id: {eq: $id}) {
childMarkdownRemark {
frontmatter {
title
description
}
headings(depth: h2) {
value
}
fields {
image
**graphManagerUrl**
}
htmlAst
}
childMdx {
frontmatter {
title
description
}
headings(depth: h2) {
value
}
fields {
image
**graphManagerUrl**
}
body
}
}
}
Here is the same file in Linux docker container (the difference is highlighted by the variable enclosed between ** **):
export const pageQuery = graphql
query PageQuery($id: String) {
site {
pathPrefix
siteMetadata {
title
description
}
}
file(id: {eq: $id}) {
childMarkdownRemark {
frontmatter {
title
description
}
headings {
value
depth
}
fields {
image
**apiReference**
}
htmlAst
}
childMdx {
frontmatter {
title
description
}
headings {
value
depth
}
fields {
image
**apiReference**
}
body
}
}
}
;
Could someone please give some insights into why this problem is occurring. Is the gatsby-theme-apollo-docs module installed differently in Windows and linux environment?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I am trying to run a gatsby application on my local Windows machine and it is working as expected with no errors. However, when I try to dockerize the application I get a bunch of errors:
I compared the template.js in
node_modules/gatsby-theme-apollo-docs/src/components/template.js
on my Windows machine and in the Linux docker container and there were some differences.Here is the
node_modules/gatsby-theme-apollo-docs/src/components/template.js
on my Windows file:Here is the same file in Linux docker container (the difference is highlighted by the variable enclosed between ** **):
Could someone please give some insights into why this problem is occurring. Is the gatsby-theme-apollo-docs module installed differently in Windows and linux environment?
The text was updated successfully, but these errors were encountered: