tinacms: ...TinaRemark fragment does not exist
Description
Getting an error with TinaCMS Fragment in Gatsby using gatsby-tinacms-remark v0.7.16
(v0.7.15, 0.7.16-alpha.3 and 0.7.0-canary.0 works). Have tried switching versions and this only occus on v0.7.16
There was an error in your GraphQL query:
The fragment "TinaRemark" does not exist.
Steps to reproduce
- Clone gatsby starter https://github.com/tinacms/gatsby-starter-tinacms
- Upgrade
gatsby-tinacms-remarkpackage to use v0.7.16
Expected result
It should render the page
Actual result
Displays an error
There was an error in your GraphQL query:
The fragment "TinaRemark" does not exist.
131 | site {
132 | siteMetadata {
133 | title
134 | author
135 | }
136 | }
137 | markdownRemark(fields: { slug: { eq: $slug } }) {
138 | id
139 | excerpt(pruneLength: 160)
140 | html
> 141 | ...TinaRemark
| ^^^^^^^^^^^^^
142 | frontmatter {
143 | title
144 | date(formatString: "MMMM DD, YYYY")
145 | description
146 | }
147 | }
148 | }
149 | `
150 |
File: /c/Users/amyka/web/gatsby-starter-tinacms/src/templates/blog-post.js
Environment
Tinacms Package Versions
├─ @tinacms/alerts@0.1.3
├─ @tinacms/api-git@0.6.0
├─ @tinacms/core@0.8.0
├─ @tinacms/fields@0.10.2
├─ @tinacms/form-builder@0.3.3
│ ├─ @tinacms/forms@^0.4.2
│ ├─ @tinacms/react-core@^0.2.12
├─ @tinacms/forms@0.4.2
├─ @tinacms/git-client@0.5.0
├─ @tinacms/icons@0.10.0
├─ @tinacms/media@0.1.0
├─ @tinacms/react-alerts@0.1.4
├─ @tinacms/react-core@0.2.12
│ ├─ @tinacms/core@^0.8.0
│ └─ @tinacms/forms@^0.4.2
├─ @tinacms/react-forms@0.1.4
│ ├─ @tinacms/form-builder@^0.3.3
├─ @tinacms/react-modals@0.1.4
├─ @tinacms/react-screens@0.1.3
├─ @tinacms/react-sidebar@0.1.4
│ ├─ @tinacms/core@^0.8.0
│ ├─ @tinacms/forms@^0.4.2
├─ @tinacms/react-toolbar@0.1.2
│ ├─ @tinacms/core@^0.8.0
│ ├─ @tinacms/fields@^0.10.2
│ ├─ @tinacms/forms@^0.4.2
├─ @tinacms/styles@0.4.2
├─ gatsby-plugin-tinacms@0.1.36
│ └─ tinacms@^0.19.2
├─ gatsby-tinacms-git@0.3.0
│ ├─ @tinacms/api-git@^0.6.0
│ └─ @tinacms/git-client@^0.5.0
├─ gatsby-tinacms-json@0.8.10
├─ gatsby-tinacms-remark@0.7.16
├─ react-tinacms-editor@0.5.2
│ ├─ @tinacms/core@^0.8.0
│ ├─ @tinacms/fields@^0.10.2
│ ├─ @tinacms/icons@^0.10.0
│ ├─ @tinacms/react-forms@0.1.2-alpha.0
│ ├─ @tinacms/react-forms@0.1.2-alpha.0
│ │ ├─ @tinacms/form-builder@^0.3.2-alpha.0
│ ├─ @tinacms/styles@^0.4.2
├─ react-tinacms@0.8.1
│ ├─ @tinacms/core@^0.4.4
│ ├─ @tinacms/core@0.4.4
├─ tinacms@0.19.2
│ ├─ @tinacms/alerts@^0.1.3
│ ├─ @tinacms/core@^0.8.0
│ ├─ @tinacms/fields@^0.10.2
│ ├─ @tinacms/form-builder@^0.3.3
│ ├─ @tinacms/forms@^0.4.2
│ ├─ @tinacms/icons@^0.10.0
│ ├─ @tinacms/media@^0.1.0
│ ├─ @tinacms/react-alerts@^0.1.4
│ ├─ @tinacms/react-core@^0.2.12
│ ├─ @tinacms/react-forms@^0.1.4
│ ├─ @tinacms/react-modals@^0.1.4
│ ├─ @tinacms/react-screens@^0.1.3
│ ├─ @tinacms/react-sidebar@^0.1.4
│ ├─ @tinacms/react-toolbar@^0.1.2
│ ├─ @tinacms/styles@^0.4.2
│ └─ react-tinacms-editor@^0.5.2
Tools
| Tool | Version |
|---|---|
| browser | Firefox |
| os | Windows 10 |
| node | 13.9.0 |
| npm | 6.13.7 |
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 2
- Comments: 15 (11 by maintainers)
@kendallstrautman Confirming this is fixed in
v0.7.18👍@ncphillips
I could not determine your intention.
Basic usage: @all-contributors please add @someone for code, doc and infra
For other usages see the documentation
@ncphillips That worked! Thanks for the quick fix. Sorry for the disruption. 😅
Got #1130 open 🤞