gatsby Questions
3
I building my first static website with gatsby. But have trouble working with "gatsby-image".
I am using "Img" component from "gatsby-image" and it's showing the image properly in development but ...
Duad asked 6/9, 2019 at 18:0
3
Solved
So I'm trying to run my test blog in Netlify but I have this error below.
I don't know what's happening
9:27:11 PM: error "gatsby-source-contentful" threw an error while running the setFi...
Allbee asked 15/4, 2021 at 20:37
5
To create the post template through this tutorial(I'm in part 4):
https://www.joaopedro.cc/blog-com-gatsby-e-react-parte-4
But when doing the "PostPage" query an error is occurring:
Multi...
4
Solved
Developing a Gatsby App using this Starter
https://github.com/the-road-to-react-with-firebase/react-gatsby-firebase-authentication
I keep getting this HPM Error after updated my node packages whe...
Fungosity asked 29/6, 2019 at 19:22
6
Solved
I made a template sale website (gatsby / react). I cloned my template GitHub repo and changed the remote origin to a new private repo, pushing to which works fine.
I deploy to gh-pages with npm src...
5
I just did a git clone off a starter template on Gatsby-- bumped into this error when I ran 'gatsby develop'. I've deleted the node module, as well as the sharp module in node module. To no avail.
...
1
In my project, which was set up using the Gatsby Quick Start (npm init gatsby my-site-name -- -ts -y), I have the following code for the IndexPage component:
const IndexPage: React.FC<PageProps&...
Uzzi asked 9/5, 2023 at 2:37
57
Solved
I was trying to build my Docker image for my Gatsby application. Whenever I run the command docker build . -t gatsbyapp, it gives me an error:
failed to solve with frontend dockerfile.v0: failed to...
Threat asked 6/10, 2020 at 8:14
2
Solved
In my gatsby projects I am getting this warning for importing the styles to my file pages/index.js
import { Link } from "gatsby"
import React from "react"
import Layout from &qu...
4
Solved
I setup a new Gatsby project through the installer but when I try to create a new file in /src/pages, but if then I go to that route, the browser says
Preparing requested page
in loop. In the bro...
4
I would like to publish my static site in various locals around the world with localized content.
How does one accomplish this?
Damselfly asked 3/8, 2017 at 16:34
2
Solved
After migrating from Remark to MDX, my builds on Netlify are failing.
I get this error when trying to build:
10:13:28 AM: $ npm run build
10:13:29 AM: > [email protected] build /opt/build/r...
2
Solved
I'm encountering the following error when attempting to open a project I forked via GitHub.
success open and validate gatsby-configs - 0.492s
ERROR #11331 PLUGIN
Invalid plugin options for "...
Sodality asked 14/3, 2021 at 2:37
1
Solved
I am baffled by the lack of concrete information about how Client-Side Rendering (CSR), Server-Side Rendering (SSR), and Static Site Generation (SSG) actually work.
There are tons of articles loose...
Convince asked 15/2, 2023 at 8:21
3
Solved
Obviously, that's not an easy task, as the only thing that changes in the html.js template file by default are the head meta tags and the content.
The meta tags are handled by the Helmet component...
Flute asked 6/12, 2016 at 12:55
4
I was wondering if I could have multiple post types in a gatsby static site.
On gatsby-config.js I have the following code.
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/...
Inconvenient asked 7/10, 2017 at 7:59
9
I made a site with gatsby (npm init gatsby) and added some components and was working fine then:
I run npm run develop (after running it before fine) and get this:
failed Building development bundl...
2
I am linked my AWS Amplify app to a new React Gatsby GitHub repo for continuous deployment. The app compiles fine locally, but I am getting an error in the 'Frontend' during the AWS build, saying t...
Northey asked 6/7, 2021 at 21:56
6
Solved
I need to make all the links from a text open a new tab, and the text come from dangerouslySetInnerHTML={{__html: content,}}. the code is in a new class that extends component in react
the block of...
Piper asked 22/9, 2020 at 7:29
3
Solved
I was using font-awesome svg icons, but I realized that they might be having a significant effect on the LCP of my website, so I'm trying to replace them. I went into my html and copied the svg cod...
Valentine asked 21/8, 2020 at 6:7
4
Solved
The full description of the issue can be found here https://github.com/gatsbyjs/gatsby/issues/5638
In short, I am using gatsby-plugin-remark and gatsby-transformer-remark to optimize images placed...
Purism asked 1/6, 2018 at 6:31
4
Solved
I am using Gatsby v1.1.52 running Node v8.11.3.
When I run gatsby serve I am prompted with with message mentioning that there is an UPDATE AVAILABLE: The latest version ofserveis 9.1.0. I've tried...
Interrogate asked 25/6, 2018 at 0:19
3
Solved
I have experimented with adding environment variables to my Gatsby project using .env.development and .env.production files and it's working great.
I would like to have my builds fail if one of th...
Moises asked 12/6, 2020 at 13:24
9
Solved
I have a multiline private key in a gatsby .env file:
GATSBY_GOOGLE_CLIENT_ID="12345"
GATSBY_GOOGLE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nflkdflkdf...\n-----END PRIVATE KEY-----"
In my gatsb...
Hardej asked 1/4, 2019 at 16:19
4
I ran the following commands to create a new gatsby starter blog:
gatsby new blog https://github.com/alxshelepenok/gatsby-starter-lumen
cd blog
gatsby develop
But during gatsby develop, I'm getting...
Dentil asked 30/1, 2021 at 17:18
© 2022 - 2024 — McMap. All rights reserved.