Upgrading Gatsby to V5 - Cannot read properties of undefined (reading 'createServerContext') #37979
Replies: 6 comments 1 reply
-
Running
And a slightly different stack trace
Noting this is to do with
|
Beta Was this translation helpful? Give feedback.
-
Have you cleaned the cache? If not, please try cleaning the cache. If you provide a minimal reproduction (or at least |
Beta Was this translation helpful? Give feedback.
-
I have tried cleaning the cache yes. Since I posted this message, I've switched the yarn
|
Beta Was this translation helpful? Give feedback.
-
here is my
|
Beta Was this translation helpful? Give feedback.
-
I Resolve the problem change React And React DOM versions, actually have react 19.0.0 to downgrade 18.0.0, for example:
change to
|
Beta Was this translation helpful? Give feedback.
-
NOTE> i have node js 22 |
Beta Was this translation helpful? Give feedback.
-
Pretty much what the title says - I'm trying to upgrade Gatsby to V5 but I'm getting the following error message and stack trace when I try to build. I believe I've updated all the correct dependencies (react is up to date for example). Would really appreciate some guidance on what to do here....
Beta Was this translation helpful? Give feedback.
All reactions