TryGhost / gatsby-starter-ghost

A starter template to build lightning fast websites with Ghost & Gatsby
https://gatsby.ghost.org
MIT License
1.08k stars 874 forks source link

Unhandled Runtime Error: _gatsbyScript.PartytownContext is undefined #542

Open rkulinski opened 2 years ago

rkulinski commented 2 years ago
  1. Clone repo
  2. Install dependencies
  3. Run npm run gatsby

Working on Macbook with M1.

App won't start. I'm getting: Screen Shot 2022-09-17 at 13 46 33

dishantlangayan commented 2 years ago

I have the same issue and error on my intel based Mac. I'm using the following node & gatsby versions:

> node -v
v18.11.0
> npm -v
8.19.2
> gatsby --version
Gatsby CLI version: 4.24.0
Gatsby version: 4.15.2
> arch
i386
ahmedragab96 commented 2 years ago

I have same issue too node : v16.18.0

danilolekovic commented 1 year ago

Same issue on M1 Macbook

Likilee commented 1 year ago
node -v
v16.17.0

same Issue

ahmedragab96 commented 1 year ago

I managed to fix it by updating gatsby version to at least 4.24.7 , in general , just checkout branch renovate/gatsby-monorepo and run npm install and it should work fine.

1mursaleen commented 1 year ago

Thanks, updating gatsby version to at least 4.24.7 works.