error Building static HTML failed for path

https://stackoverflow.com/questions/66097033/error-building-static-html-failed-for-path-post-combiningmarriagewithlove-m 

I got the same error and the way I was able to fix it was by changing one of my style components to the proper react style

style={{maxWidth: "540px"}}

(before it was this:)

style="max-width: 540px;"

This wasn't picked up by my linter (ESLint) but if you don't have a linter installing one might help and it could highlight the problem

Không có nhận xét nào:

StaticImage

  import React , { useEffect , useRef } from "react" import { StaticImage } from "gatsby-plugin-image" impor...