gatsby Questions
4
Getting problem with Gatsby.
It's is showing Error: Cannot find module 'gatsby-cli/lib/reporter' in command prompt when I am running gatsby develop . How can I solve it please answer.
Error Messag...
Anabolism asked 18/6, 2019 at 23:10
3
I have an existing GatsbyJS project and I want to add Storybook to this project to showcase each separate component. I'm using SCSS in my project, which are being compiled with gatsby-plugin-sass, ...
4
Solved
I want to use environment variables. I created .env.development file and I put some variables. Then I include the dotenv plugin to read the variables in gatsby-config.js:
require('dotenv').config(...
Sofko asked 21/10, 2019 at 14:37
2
Solved
I have a basic blog setup with Gatsby and at the time of posting this question there lacks good documentation for SEO components. There are examples of basic SEO components but what I am wanting is...
Dart asked 11/11, 2019 at 21:27
1
What happened
I've just upgraded gatsby 2 -> 3.
Under the hood it now uses webpack 5 instead of 4 and now gives a dependency warning outstanding I just can't get rid of - raw-loader is installed...
Harar asked 3/9, 2021 at 15:39
3
Solved
Goal
I am looking to use client-only routes for content under a certain URL (/dashboard). Some of this content will be coming from Contentful and using a page template. An example of this route wou...
Fred asked 18/8, 2021 at 11:42
3
As I see there is no json option anymore when querying the contentfulBlogPost only raw. I was able to make some changes to get everything from the body, except the image from that post.
If I made a...
Marijuana asked 21/1, 2021 at 14:12
1
Solved
I've tried deploying my Gatsby site to Netlify, but I keep getting these errors for various node modules whenever I try to deploy. I've tried making a webpack.config.js file and including both of t...
Karlmarxstadt asked 22/8, 2021 at 19:11
2
Solved
I’m a react noob and self-taught, so I’m sure I am doing something stupid. I’m trying to make a small bit of client-side rendered html into a component within my Gatsby site. Been battling this for...
Deva asked 9/7, 2021 at 22:16
5
Solved
I am new in both React and GatsbyJS. I am confused and could not make figuring out in a simple way to load data from third-party Restful API.
For example, I would like to fetch data from randomus...
4
Solved
I am pretty much familiar with the React.js but new to Gatsby.
I want to detect the previous page URL in Gatsby?
Gamboge asked 1/3, 2019 at 9:53
2
Solved
I'm working on a Gatsby app with Netlify CMS (and hosted on Netlify). Trying to get the metadata working so that Twitter cards display correctly with images.
The metadata is generally all right, bu...
Haig asked 11/6, 2021 at 19:45
3
Solved
There have been a couple of similar questions, but none helped me really understand using a GraphQL inside a (class) component other than the ones in the pages folder.
My project structure looks l...
Squalor asked 22/8, 2019 at 14:57
4
Solved
I'm trying to add a new template to the gatsby-starter-hero-blog, but my GraphQL query for the new template is being rejected:
warning The GraphQL query in the non-page component
"/Users/mc/work...
Jurado asked 18/8, 2018 at 20:54
3
Solved
I'm trying to use a Mapbox map on a gatsby website. I used the code from their react Mapbox tutorial: https://docs.mapbox.com/help/tutorials/use-mapbox-gl-js-with-react/ and put it into a map compo...
1
Solved
I am building a gatsby site and I want to have my header change background color opacity as I scroll down. What's the best way to approach this?
I currently have this, where isScrolled is a state v...
Borstal asked 14/6, 2021 at 12:55
1
Solved
Background: I am migrating our sales pages to a serverless CDN using Gatsby -> Netlify, and am trying to implement a Stripe customized payment flow because we want to customize our checkout form...
Butterfat asked 11/6, 2021 at 17:26
3
Solved
I'm following this guide to deploy to an S3 bucket using Gatsby.
If I run aws s3 ls mybucketname.com,
I get the single file I uploaded: 2019-02-15 15:53:58 477 favicon-16x16.png
However, if I ru...
1
Solved
How do I filter multiple values in GraphQL? For example, I want both databaseID 59 and 170 to be filtered.
I've tried with 170, 59 but it returns error "Syntax Error: Expected Name, found Int ...
6
Solved
Load third party iframe in React after page load, so that the iframe does not affect PageSpeed score
I have an iframe that loads a third party widget. I only want to display this iframe after my page has loaded, because I don't want to slow down my page load speed. I followed a medium article whic...
Putsch asked 13/7, 2020 at 7:41
4
I have a Gatsby site that queries information from a Wordpress REST API with GraphQL to dynamically create the site pages. I'd like to set my index page to be the homepage that is being created dyn...
Eu asked 22/1, 2020 at 21:46
1
I am using Strapi with Gatsby and having difficulty rendering images within a dynamic zone. I am using:
Strapi 3.6.2
Gatsby 3.5.1
gatsby-source-strapi 1.0.0
gatsby-plugin-image 1.5.0
gatsby-plugin...
Kattiekatuscha asked 13/5, 2021 at 9:4
1
Solved
I am learning to create a gatsby blog website with a YouTube tutorial. I have followed the exact steps as shown in the tutorials. There were errors that were related to graphql query format. which ...
Sanitize asked 23/5, 2021 at 8:31
2
I have a website done in [email protected]. When I run gatsby build and inspect the generated html, for every page, all I see is an empty div: <div id="___gatsby"></div. The html cont...
Zaffer asked 25/3, 2019 at 21:4
0
I am experiencing an issue where I have a page with a matchPath set to /*.
This works for content that doesn't have special characters in the URL, such as my terms page. However, for my test page w...
Damascene asked 14/5, 2021 at 7:9
© 2022 - 2024 — McMap. All rights reserved.