After upgrading yarn packages my project fails to build.
ERROR #85901 GRAPHQL
There was an error in your GraphQL query:
Unknown type "HtmlRehype".
File: node_modules/gatsby-theme-try-ghost/src/utils/fragments.js:154:20
ERROR #85901 GRAPHQL
There was an error in your GraphQL query:
Unknown type "HtmlRehype".
File: node_modules/gatsby-theme-try-ghost/src/utils/fragments.js:263:20
ERROR #85908 GRAPHQL
There was an error in your GraphQL query:
The fragment "GhostPostFields" does not exist.
36 |
37 | export const pageQuery = graphql`
38 | query GhostNotFoundQuery {
39 | allGhostPost(
40 | sort: { order: DESC, fields: [published_at] },
41 | limit: 3,
42 | skip: 0
43 | ) {
44 | edges {
45 | node {
> 46 | ...GhostPostFields
| ^^^^^^^^^^^^^^^^^^
47 | }
48 | }
49 | }
50 | }
51 | `
52 |
Did you mean to use "GhostTagFields"?
File: node_modules/gatsby-theme-try-ghost/src/pages/404.js
ERROR #85908 GRAPHQL
There was an error in your GraphQL query:
The fragment "GhostPostFields" does not exist.
47 | ...GhostAuthorFields
48 | }
49 | allGhostPost(
50 | sort: { order: DESC, fields: [published_at] },
51 | filter: {authors: {elemMatch: {slug: {eq: $slug}}}},
52 | limit: $limit,
53 | skip: $skip
54 | ) {
55 | edges {
56 | node {
> 57 | ...GhostPostFields
| ^^^^^^^^^^^^^^^^^^
58 | }
59 | }
60 | }
61 | }
62 | `
63 |
64 | export default Author
65 |
Did you mean to use "GhostTagFields"?
File: node_modules/gatsby-theme-try-ghost/src/templates/author.js
ERROR #85908 GRAPHQL
There was an error in your GraphQL query:
The fragment "GhostPostFields" does not exist.
48 | // The `limit` and `skip` values are used for pagination
49 | export const pageQuery = graphql`
50 | query GhostPostQuery($limit: Int!, $skip: Int!) {
51 | allGhostPost(
52 | sort: { order: DESC, fields: [published_at] },
53 | limit: $limit,
54 | skip: $skip
55 | ) {
56 | edges {
57 | node {
> 58 | ...GhostPostFields
| ^^^^^^^^^^^^^^^^^^
59 | }
60 | }
61 | }
62 | }
63 | `
64 |
Did you mean to use "GhostTagFields"?
File: node_modules/gatsby-theme-try-ghost/src/templates/index.js
ERROR #85908 GRAPHQL
There was an error in your GraphQL query:
The fragment "GhostPageFields" does not exist.
67 | }).isRequired,
68 | }).isRequired,
69 | location: PropTypes.object.isRequired,
70 | }
71 |
72 | export default Page
73 |
74 | export const postQuery = graphql`
75 | query($slug: String!) {
76 | ghostPage(slug: { eq: $slug }) {
> 77 | ...GhostPageFields
| ^^^^^^^^^^^^^^^^^^
78 | }
79 | }
80 | `
81 |
Did you mean to use "GhostTagFields"?
File: node_modules/gatsby-theme-try-ghost/src/templates/page.js
ERROR #85908 GRAPHQL
There was an error in your GraphQL query:
The fragment "GhostPostFields" does not exist.
123 | }).isRequired,
124 | location: PropTypes.object.isRequired,
125 | pageContext: PropTypes.object,
126 | }
127 |
128 | export default Post
129 |
130 | export const postQuery = graphql`
131 | query($slug: String!, $prev: String!, $next: String!, $tag: String!, $limit: Int!, $skip: Int!) {
132 | post: ghostPost(slug: { eq: $slug }) {
> 133 | ...GhostPostFields
| ^^^^^^^^^^^^^^^^^^
134 | }
135 | prev: ghostPost(slug: { eq: $prev }) {
136 | ...GhostPostFields
137 | }
138 | next: ghostPost(slug: { eq: $next }) {
139 | ...GhostPostFields
140 | }
141 | allGhostPost(
142 | sort: { order: DESC, fields: [published_at] },
143 | filter: {slug: { ne: $slug },tags: {elemMatch: {slug: {eq: $tag}}}},
Did you mean to use "GhostTagFields"?
File: node_modules/gatsby-theme-try-ghost/src/templates/post.js
ERROR #85908 GRAPHQL
There was an error in your GraphQL query:
The fragment "GhostPostFields" does not exist.
126 | }
127 |
128 | export default Post
129 |
130 | export const postQuery = graphql`
131 | query($slug: String!, $prev: String!, $next: String!, $tag: String!, $limit: Int!, $skip: Int!) {
132 | post: ghostPost(slug: { eq: $slug }) {
133 | ...GhostPostFields
134 | }
135 | prev: ghostPost(slug: { eq: $prev }) {
> 136 | ...GhostPostFields
| ^^^^^^^^^^^^^^^^^^
137 | }
138 | next: ghostPost(slug: { eq: $next }) {
139 | ...GhostPostFields
140 | }
141 | allGhostPost(
142 | sort: { order: DESC, fields: [published_at] },
143 | filter: {slug: { ne: $slug },tags: {elemMatch: {slug: {eq: $tag}}}},
144 | limit: $limit,
145 | skip: $skip
146 | ) {
Did you mean to use "GhostTagFields"?
File: node_modules/gatsby-theme-try-ghost/src/templates/post.js
ERROR #85908 GRAPHQL
There was an error in your GraphQL query:
The fragment "GhostPostFields" does not exist.
129 |
130 | export const postQuery = graphql`
131 | query($slug: String!, $prev: String!, $next: String!, $tag: String!, $limit: Int!, $skip: Int!) {
132 | post: ghostPost(slug: { eq: $slug }) {
133 | ...GhostPostFields
134 | }
135 | prev: ghostPost(slug: { eq: $prev }) {
136 | ...GhostPostFields
137 | }
138 | next: ghostPost(slug: { eq: $next }) {
> 139 | ...GhostPostFields
| ^^^^^^^^^^^^^^^^^^
140 | }
141 | allGhostPost(
142 | sort: { order: DESC, fields: [published_at] },
143 | filter: {slug: { ne: $slug },tags: {elemMatch: {slug: {eq: $tag}}}},
144 | limit: $limit,
145 | skip: $skip
146 | ) {
147 | edges {
148 | node {
149 | ...GhostPostFields
Did you mean to use "GhostTagFields"?
File: node_modules/gatsby-theme-try-ghost/src/templates/post.js
ERROR #85908 GRAPHQL
There was an error in your GraphQL query:
The fragment "GhostPostFields" does not exist.
139 | ...GhostPostFields
140 | }
141 | allGhostPost(
142 | sort: { order: DESC, fields: [published_at] },
143 | filter: {slug: { ne: $slug },tags: {elemMatch: {slug: {eq: $tag}}}},
144 | limit: $limit,
145 | skip: $skip
146 | ) {
147 | edges {
148 | node {
> 149 | ...GhostPostFields
| ^^^^^^^^^^^^^^^^^^
150 | }
151 | }
152 | }
153 | }
154 | `
155 |
Did you mean to use "GhostTagFields"?
File: node_modules/gatsby-theme-try-ghost/src/templates/post.js
ERROR #85908 GRAPHQL
There was an error in your GraphQL query:
The fragment "GhostPostFields" does not exist.
49 | ...GhostTagFields
50 | }
51 | allGhostPost(
52 | sort: { order: DESC, fields: [published_at] },
53 | filter: {tags: {elemMatch: {slug: {eq: $slug}}}},
54 | limit: $limit,
55 | skip: $skip
56 | ) {
57 | edges {
58 | node {
> 59 | ...GhostPostFields
| ^^^^^^^^^^^^^^^^^^
60 | }
61 | }
62 | }
63 | }
64 | `
65 |
Did you mean to use "GhostTagFields"?
File: node_modules/gatsby-theme-try-ghost/src/templates/tag.js
failed extract queries from components - 1.893s