gatsby Questions
11
Solved
I have a Gatsby site that has been running smoothly for 3 months online.
As of Friday 24th July I have started to receive the below result and users only see a blank screen.
This is likely a bug...
Anthroposophy asked 26/7, 2020 at 21:40
4
Solved
I am trying to use this Gatsby starter with Netlify CMS. https://github.com/stackrole-dev/gatsby-starter-foundation
I followed the instructions exactly but after enabling Git Gateway, when I try t...
Chamade asked 4/6, 2020 at 20:18
2
I have been working with Strapi and Gatsby through the command line to get a website and CMS up and running, similar to this set up - https://strapi.io/blog/building-a-static-website-using-gatsby-a...
Lonesome asked 12/6, 2020 at 4:48
4
Solved
Error: Cannot find module 'sharp'
Require stack:
- D:\Marketing\sbj-react\suburban\node_modules\gatsby-plugin-manifest\safe-sharp.js
- D:\Marketing\sbj-react\suburban\node_modules\gatsby-plugin-...
6
Newbie to Storybook here.
I'm trying to integrate Storybook into my Gatsby front end. However, when trying to preview the test components in Storybook Canvas I get the following error:
react is not...
Grevera asked 3/1, 2023 at 16:13
2
I have an GastbyJS application, and I'm trying to add typescript on it. I solve most of the issues, but I'm not able to make the css module work with it.
I have this import in my file, that works ...
Libelous asked 23/4, 2020 at 3:18
12
Solved
I'm setting up a website using Gatsby 2.2.10 and the Link components are retaining the scroll positions of the previous page and not scrolling back to the top when they're clicked.
<div classN...
3
I'm developing a gatsby theme/starter for PWA's, but I can't seem to get rid of the following console warning:
The resource https://davidde.github.io/gatsby-starter-simpwa/page-data/offline-plugin...
Washcloth asked 8/1, 2020 at 1:15
5
this is my code in gatsby-config.js
module.exports = {
siteMetadata: {
title: `title`,
description: ``,
author: `@Wavii`,
},
plugins: [
{
resolve: `gatsby-plugin-google-analytics`,
opti...
Friedcake asked 26/11, 2019 at 11:58
4
Solved
I used a Gatsby starter for my static site, and one of the pages included in that starter is a demo page with all of the UI elements.
I want to keep the page (so I can copy and paste from the demo...
10
I am building SSR rendered Gatsby react application and I get the following error while doing "gatsby build". Been searching for a solution for this error for a good couple of days as it ...
11
I have created a Gatsby app and configured gatsby-node.js to a create client only paths, which are all working fine in development while directly accessing the url of the path but not in production...
Taxi asked 28/8, 2018 at 6:3
4
Solved
I've read through the gatsby-image docs but can't figure out how to turn something off. By default, it seems gatsby-image loads a thumbnail of an image, then loads the image progressively. Basicall...
3
When I installed react-pdf I get the following error:
ModuleNotFoundError: Module not found: Error: Can't resolve 'canvas' in '/home/pegasus/Documents/Final_Website/blog/node_modules/pdfjs-dist/bui...
Unbolted asked 2/5, 2023 at 22:50
2
I updated tailwind v2 to v3. Also using gatsby which I'm quite new.
And I didn't have this two warnings when it's tailwind v2. But I get this in v3. I see some some kind of solution in webpack.conf...
Antibaryon asked 18/3, 2022 at 11:5
6
Solved
I am trying to build my gatsby project but I am unable due to the IntersectionObserver not being recognized. I use the intersectionObserver inside an InView component:
import React, { useRef, useSt...
Soutache asked 20/12, 2019 at 11:13
4
Solved
I am beginner developer and I am working on react (gatsby, TS, styled components) project. I am getting this error:
"React does not recognize the isOpen prop on a DOM element. If you intention...
Aloft asked 27/9, 2021 at 7:31
2
Solved
I want to optimize all the images on my Gatsby site and to achieve that I have installed the gatsby-image-plugin.
For the dynamic images, I am using the GatsbyImage Component and everything is work...
Mooring asked 31/7, 2021 at 15:6
5
How would you do it? modify the public folder doesn't seem to work... make your own build and host it how it is? maybe there is a function that I still don't know. Any help is appreciated.
2
Solved
I have a problem running gatsby build on my Gatsby site that only occurs when running in a Github Actions container. It doesn't always happen, either; as a good example, today Dependabot started 12...
Cletacleti asked 10/1, 2020 at 10:13
2
Solved
So basically I have a onbeforeunload function taking care and warning users if they decided to reload or close the tab. My code is as below
useEffect(() => {
//this will prevent users from a...
Manet asked 19/5, 2021 at 6:53
4
Solved
When building my Gatsby website I get the below error.
I've tried to delete and reinstall npm, update the plugins, deleting (Gatsby) cache, playing around with the siteUrl and all kinds of settings...
2
Solved
I am trying to pass a path of an image as a prop to a component
Note: Both the component and the index page can access the image through the same path. It is not working when i pass the path as a p...
Monocoque asked 23/3, 2021 at 8:52
11
I'm not sure if there's a bug with something I'm using or whether I've just set something up wrong here, but I'm getting this error from eslint when running eslint src --fix about "eslint-plugin-@t...
Zigzag asked 8/3, 2019 at 9:28
4
I've seen the following solution:
import { ReactComponent as Img } from 'path/to/file.svg'
But in Gatsby, this doesn't work. I know exist plugins for this, but maybe it can be done more easily.
1 Next >
© 2022 - 2024 — McMap. All rights reserved.