You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Very excited to try out this package. However I've been unable to import the React version into our GatsbyJS-based template, and also unable to use the vanilla script. I've created a sample project using the basic Gatsby starter page as a demo.
npm i to install dependencies, including Partytown
gatsby develop to start local dev
./src/components/seo.js has import { Partytown } from '@builder.io/partytown/react' at the top, and that should throw a "Module not found" error. If you comment that out, we are including the vanilla script via React Helmet and that will throw a syntax error.
Screenshots of those errors below:
I am running the latest Node LTS version (v14).
The text was updated successfully, but these errors were encountered:
Very excited to try out this package. However I've been unable to import the React version into our GatsbyJS-based template, and also unable to use the vanilla script. I've created a sample project using the basic Gatsby starter page as a demo.
Reproduction steps:
npm i
to install dependencies, including Partytowngatsby develop
to start local dev./src/components/seo.js has
import { Partytown } from '@builder.io/partytown/react'
at the top, and that should throw a "Module not found" error. If you comment that out, we are including the vanilla script via React Helmet and that will throw a syntax error.Screenshots of those errors below:
I am running the latest Node LTS version (v14).
The text was updated successfully, but these errors were encountered: