I’m receiving this error after I run gatsby develop. I have tried following the steps from gatsby.com Not sure the reason for this error. I have tried gatsby clean, removing files that were giving errors, and utilizing google. I have posted on GitHub and discord, but have not received any updates yet. Any assistance is appreciated. Answer It looks like
Tag: gatsby
Gatsby 3rd party scripts not working as intended
I have the problem with including fastspring to my gatsby project. Problem is the following: I add the script in html head but it doesn’t work on all pages(it works only if I refresh the page) I tried to fix that by inserting script in html.js, with gatsby-ssr.js and gatsby-browser.js gatsby-browser.js I put the same code in gatsby-ssr.js, I have
Gatsby blog post – How to add rich snippets to a video embedded from YouTube
I have a blog running with Gatsby + the Netlify CMS and sometimes I want to add to the blog post an embedded video from YouTube. I want to create for those videos a videoObject schema with the following structure: Does someone know what is the best way to do this? Thank you in advance! Regards. Answer You should be
How to manipulate a div using Active States in React?
I am trying to make a menu with three accordion windows. All of the data is being stored within the functional components using arrays, my aim is to trigger the opening of individual windows separately using the Active States. This is my code so far: As you can see with the code above I have a simple activeItem state, the
gatsby-image-background using v3 gatsby-image
I am trying to make gatsby-background-image work with v3 of gatsby-plugin-image. I have followed documentation and found I should be using gbimage-bridge. For some reason it doesn’t seem to work. My query works fine when testing in ide. I have tried to change my query and consts in all sorts of ways but can’t seem to make it work. Right
SASS Applies style to the whole website despite only imported into a single page
I’m trying to apply a SASS file on one single js page, but the import goes on the whole website. Here is my partner.sass file : and here is my partner.js file : Whenever I refresh or try to switch to another page, everything (which I believe is due to html and body tags from my sass file) is fading
How can I block or opt-out of installing a dependency with Yarn?
I’m using Gatsby, which has a long list of sub-dependencies, some of which I’d like to never allow Yarn to install and execute. Ideally I’d like to be able to add a per-project blocklist, but I’m open to other ways of achieving the same goal of not installing specific packages, even if it leads to errors in the direct dependencies
Using external script (in JavaScript) in Gatsby JS
I am trying to load a JavaScript code on my gatsby app. Inside my static folder on my root folder I created a code called script.js. Here’s the snippet inside: Then on my Layout component, I tried to use helmet to include this: But this returns this error: I am not sure if I should place my script inside an
How to declare array from API in place of hardcoded array?
I was given an example for some code that has an array hardcoded. Im looking to swap this out for my array that is pulled in from an API using graphql. Below is the code pen to the original example & another for what i’ve tried with no avail. I’m pretty new to graphql & js so likely an amateur
Target specific folder with Gatsby and allImageSharp context
I’m a beginner on Gatsby. I try to display a batch of images in grid from a specific folder. I find a script to do that, but that’s catch all pics from my data folder and my purpose is target a specific one. I try a script but that’s don’t work with allImageSharp when I try to filter this one