gatsby-remark-images-anywhere icon indicating copy to clipboard operation
gatsby-remark-images-anywhere copied to clipboard

Fails to build on Gatsby 4

Open a-haan opened this issue 3 years ago • 3 comments

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 `

a-haan avatar Dec 20 '21 00:12 a-haan

I'm getting the same error

wahidshafique avatar Feb 24 '22 21:02 wahidshafique

Hi @wahidshafique, I switched to https://www.npmjs.com/package/gatsby-remark-images-remote and haven't looked back!

a-haan avatar Feb 24 '22 22:02 a-haan

@a-haan thank you so much! You really unblocked me on this 🥇

wahidshafique avatar Feb 25 '22 15:02 wahidshafique