5,914
questions
0
votes
0
answers
8
views
Gatsby build fails in docker (manual execution runs fine)
I'm trying to create a docker container for a Gatsby web app. I'm working in the GCP shell. When I do
npm install --legacy-peer-deps
gatsby clean
gatsby build
everything runs fine. But when I want o ...
0
votes
0
answers
10
views
Strapi fields are not fetched by GraphQL / Gatsby
The fields that are available in Strapi don't appear in GraphQL schema (GraphiQL playground)
I tried everything:
all permissions are given in the Roles;
deep population works, gatsby-source-strapi ...
0
votes
0
answers
20
views
Gatsby: Google Tag Manager (GTM) Not Firing on Page Navigation
I'm experiencing an issue with Google Tag Manager (GTM) integration on my Gatsby site. Here's the situation:
Issue: GTM tags fire correctly on the initial page load, but when navigating between pages ...
0
votes
1
answer
26
views
images not rendering on Gatsby using GatsbyImage
I'm having trouble getting images to load on my website using GatsbyImage and would love any help with this resolving this.
This is what I have on the page where I'm expecting the images to render:
**...
0
votes
0
answers
14
views
CSS Animations not working after a a Gatsby Built
My CSS animations are not working after a build.
Gatsby is building the wrong CSS bundle
The original CSS is:
@supports (animation-timeline: view()) {
#hero-slide-scroll {
min-height: 90dvh;
...
2
votes
0
answers
13
views
Gatsby seems not fetching certain fields
Gatsby start fetching certain fields when you deep populate query in the gatsby-config like this
{
resolve: "gatsby-source-strapi",
options: {
apiURL: process.env....
0
votes
3
answers
52
views
Page will not load even though a javascript file with its name has been created
I'm new to react and gatsby so I am following the gatsby tutorial online. I was steadily working through Part 2 when I ran into problem. On the tutorial they have created a second javascript file ...
0
votes
0
answers
17
views
Parsing GraphQL query
I am using Gatsby(React-based framework) as CMS and trying to create a component that will return a series of JSONs.
But for some reason, there is a parsing error -
',' expected.ts(1005)
My code -
...
1
vote
0
answers
19
views
Trouble querying childImageSharp with Gatsby and Drupal
I am working on a gatsby with Drupal CMS project and am currently facing an issue regarding gatsby-plugin-image with the images coming from the CMS.
I am trying to replace all my tags with components ...
0
votes
0
answers
41
views
Why does my search field not respond to input changes on mobile?
I recently recreated a website that has a search filter that narrows down a list of search results as the user types. The code in the markup of the component looks like this
<label for="...
0
votes
0
answers
58
views
Gatsby Re-fetching Unchanged Custom Post Types Continuously After Successful Gatsby Develop
I'm experiencing an issue where Gatsby continuously re-fetches a few unchanged posts from my WordPress custom post types after a successful gatsby develop build. This happens repeatedly, even though ...
2
votes
0
answers
16
views
Posts Cross-Appearing in the Wrong Directories - Gatsby
I am building a blog with 2 different blog subdirectories. One is /blog/{blog_slug}/ and the other is /projects/{blog_slug}. My folder structure is as follows:
blog/
blog1/
index.mdx
...
0
votes
0
answers
29
views
Need To Track User Search Queries in a Gatsby and Strapi Application Integrated with MeiliSearch using google analytics
Context:
I have a Gatsby and Strapi-based application where we've recently integrated search functionality using MeiliSearch. The current setup is working fine for displaying search results, but now I ...
0
votes
0
answers
13
views
I am having issues in Graphql query cannot query field slug on type Frontmatter
ERROR #85923 GRAPHQL.VALIDATION
There was an error in your GraphQL query:
Cannot query field "slug" on type "Frontmatter".
If you don't expect "slug" to exist on the ...
0
votes
0
answers
37
views
anchor links and id combination for scrolling don't work for page reload and back and forward button of browser?
<a
href={getUrlHash(props.primaryCTA?.url)}
className="btn btn--primary"
target={props.primaryCTA?.target || ''}
aria-label={props.primaryCTA?.title || ''}
...