[gatsby-plugin-image] Module parse failed: Unexpected token #29976
-
I am getting the following error after upgrade to Gatsby v3 and migrate to
I am able to run the starter without any error, but upgrading my current site does not work. If I remove In import React from "react"
import { LaterHydrator } from "."
export function wrapRootElement({ element }) {
return <LaterHydrator>{element}</LaterHydrator>
} My repository is https://gitlab.com/joshua-avalon/blog/joshua-avalon-blog/-/tree/v2. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It is actually a bug with npm@7 workspace with gatsby. See #29979. |
Beta Was this translation helpful? Give feedback.
It is actually a bug with npm@7 workspace with gatsby. See #29979.