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
There was an error in your GraphQL query:
The fragment "GatsbyImageSharpFluid" does not exist.
12 | * - `gatsby-image`: https://gatsby.dev/gatsby-image
13 | * - `useStaticQuery`: https://www.gatsbyjs.org/docs/use-static-query/
14 | */
15 |
16 | const Image = () => {
17 | const data = useStaticQuery(graphql`
18 | query {
19 | placeholderImage: file(relativePath: { eq: "gatsby-astronaut.png" }) {
20 | childImageSharp {
21 | fluid(maxWidth: 300) {
> 22 | ...GatsbyImageSharpFluid
| ^^^^^^^^^^^^^^^^^^^^^^^^
23 | }
24 | }
25 | }
26 | }
27 | `);
28 |
29 | return <Img fluid={data.placeholderImage.childImageSharp.fluid} />;
30 | };
31 |
32 | export default Image;
Did you mean to use "GatsbyContentfulFluid"?
File: node_modules/@wardpeet/gatsby-plugin-static-site/e2e-tests/asset-prefix/src/components/image.js
Based on this gatsby issue I tried added e2e-tests in .npmignore and there is still an error. I just tested by directly adding the file in node_modules folder.
The text was updated successfully, but these errors were encountered:
When I run gatsby develop i get the error
Based on this gatsby issue I tried added
e2e-tests
in.npmignore
and there is still an error. I just tested by directly adding the file in node_modules folder.The text was updated successfully, but these errors were encountered: