Error in function hoistNonReactStatics in ./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js:70
Cannot convert undefined or null to object
./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js:70
Open in Editor
68 | // don't hoist over string (html) components
69 | if (objectPrototype) {
70 | var inheritedComponent = getPrototypeOf(sourceComponent);
71 |
72 | if (inheritedComponent && inheritedComponent !== objectPrototype) {
73 | hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
Here is my dependencies list:
`{
"name": "gatsby-starter-hello-world",
Here's the error message I got.
Error in function hoistNonReactStatics in ./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js:70 Cannot convert undefined or null to object
./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js:70
Open in EditorHere is my dependencies list: `{ "name": "gatsby-starter-hello-world",
"version": "0.1.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
I cannot think of why this is happening. I've also updated everything possible.