mdx-deck start error with 'TypeError: Cannot read property 'internal' of null'
See original GitHub issueIβm creating a deck using the example from Zeitβs now-examples repository.
I can start a development server correctly and see the success: Building development bundle
output from Gatsby, however as soon as I change a file the development server crashes with this error:
TypeError: Cannot read property 'internal' of null
- gen-mdx.js:48 payloadCacheKey
[javascript-slides]/[gatsby-plugin-mdx]/utils/gen-mdx.js:48:46
- gen-mdx.js:51 genMDX
[javascript-slides]/[gatsby-plugin-mdx]/utils/gen-mdx.js:51:43
- source-nodes.js:108 processMDX
[javascript-slides]/[gatsby-plugin-mdx]/gatsby/source-nodes.js:108:5
- source-nodes.js:158 resolve
[javascript-slides]/[gatsby-plugin-mdx]/gatsby/source-nodes.js:158:35
- gatsby-node.js:40
[javascript-slides]/[gatsby-theme-mdx-deck]/gatsby-node.js:40:24
- gatsby-node.js:47 resolveTitle
[javascript-slides]/[gatsby-theme-mdx-deck]/gatsby-node.js:47:60
not finished createPages - 0.077s
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
3 pages In Progress mdx-deck
Error: Command failed with exit code 1 (EPERM): gatsby develop --host localhost --port 8000 --open
at makeError (/Users/jackleslie/Desktop/Talks/javascript-slides/node_modules/execa/lib/error.js:59:11)
at handlePromise (/Users/jackleslie/Desktop/Talks/javascript-slides/node_modules/execa/index.js:112:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Hereβs my project for reference, nothing much to see at the moment
Issue Analytics
- State:
- Created 4 years ago
- Reactions:20
- Comments:18 (4 by maintainers)
Top Results From Across the Web
Cannot read properties of null (reading 'default') in Next.js ...
js application started throwing TypeError: Cannot read properties of null (reading 'default') without me changing anything in my code where I'm rendering someΒ ......
Read more >Cannot read properties of null (reading '_doc') : r/graphql
I'm running a query in GraphQL and getting this error: { "errors": [ { "message": "Cannot read properties of null (reading '_doc')",Β ...
Read more >Fix Cannot Set Property of Null Error in JavaScript - YouTube
Check us out at https://www.skillforge.com The " cannot set property of null " error is a very common JavaScript issue that you may...
Read more >missing required prop: "chartdata" - You.com | The AI Search ...
The computed property "chartData" is already defined as a prop. I am a novice in this framework and I ... Favicon for github....
Read more >3 Minutes with Kent - Briefs
So you can't avoid adding complexity when you start abstracting ... is that there I set up a postgres database inside a Docker...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same here, the fix does not work for βmdx-deckβ: β^3.0.13β
I added the following and it worked
βresolutionsβ: { βmdx-deck/**/gatsbyβ: β2.18.4β },
Iβm using yarn.
I would suggest keeping this issue open until a fix is in place in the repo itself, not specific to pinning a sub-dependency version and using yarn. Looks like https://github.com/jxnblk/mdx-deck/pull/603 fixes it. Also might be a duplicate of https://github.com/jxnblk/mdx-deck/issues/595.