gatsby-remark-images-anywhere
gatsby-remark-images-anywhere copied to clipboard
Fails to build on Gatsby 4
Fails to build on Gatsby 4
` Cannot read property 'type' of undefined
TypeError: Cannot read property 'type' of undefined
-
public.js:891 Object.actions.touchNode [a-haan-gatsby]/[gatsby]/src/redux/actions/public.js:891:41
-
call-deferred-api.ts:17 callRealApi [a-haan-gatsby]/[gatsby]/src/utils/call-deferred-api.ts:17:20
-
actions.ts:26 callApi [a-haan-gatsby]/[gatsby]/src/state-machines/develop/actions.ts:26:6
-
interpreter.js:767 Interpreter.exec [a-haan-gatsby]/[xstate]/lib/interpreter.js:767:16
-
interpreter.js:204 Interpreter.execute [a-haan-gatsby]/[xstate]/lib/interpreter.js:204:14
-
interpreter.js:230 Interpreter.update [a-haan-gatsby]/[xstate]/lib/interpreter.js:230:12
-
interpreter.js:110 [a-haan-gatsby]/[xstate]/lib/interpreter.js:110:15
-
scheduler.js:69 Scheduler.process [a-haan-gatsby]/[xstate]/lib/scheduler.js:69:7
-
scheduler.js:48 Scheduler.schedule [a-haan-gatsby]/[xstate]/lib/scheduler.js:48:10
-
interpreter.js:104 Interpreter.send [a-haan-gatsby]/[xstate]/lib/interpreter.js:104:23
-
interpreter.js:1105 callback [a-haan-gatsby]/[xstate]/lib/interpreter.js:1105:13
-
listen-for-mutations.ts:6 callback [a-haan-gatsby]/[gatsby]/src/services/listen-for-mutations.ts:6:5
-
mett.ts:44 forEach [a-haan-gatsby]/[gatsby]/src/utils/mett.ts:44:11
-
Set.forEach
-
mett.ts:43 Object.emit [a-haan-gatsby]/[gatsby]/src/utils/mett.ts:43:17
-
api-runner-node.js:104 [a-haan-gatsby]/[gatsby]/src/utils/api-runner-node.js:104:20 `
I'm getting the same error
Hi @wahidshafique, I switched to https://www.npmjs.com/package/gatsby-remark-images-remote and haven't looked back!
@a-haan thank you so much! You really unblocked me on this 🥇