Closed ky1ejs closed 1 year ago
I wanted to report this since I didn't see an issue tracking this problem on this repo yet.
According to this remark-gfm
issue, many packages in the Markdown JS/TS ecosystem are still updating to latest models/packages since a major release recently (circa August 2023).
In the issue linked above, the maintainer mentions that MDX should be making its way to be up to date with the latest changes.
I'd be happy to help out with this, be would be helpful to get an intro to the work with an existing contributor (and, for that matter, a status check of whether y'all are already aware/working on this :) ).
p.s. thanks so much for your work on this project!
All the packages are done except for MDX (and remark-lint). Wait a day or two for MDX. One feature rest docs. Use the previous remark-gfm for now.
v3 is out!
I am using these 2 -
"@mdx-js/mdx": "^3.0.0", "@mdx-js/react": "^3.0.0"
along with "remark-gfm": "^4.0.0" and this still gives me this error.
I am using gatsby with "gatsby-plugin-mdx": "^5.13.1",
But when I downgrade remark-gfm to 3.0.1, it works. What could be causing this as everywhere I am seeing that this has been fixed now.
@muditjuneja this is a bug in gatsby-plugin-mdx
, Gatsby does not support MDX 3 yet.
See https://github.com/gatsbyjs/gatsby/discussions/36406 and https://github.com/gatsbyjs/gatsby/issues/38789
Thank you @ChristianMurphy ++++ for these links. I will read more into this.
Initial checklist
Affected packages and versions
2.3.0
Link to runnable example
No response
Steps to reproduce
npm run build
Expected behavior
Build should complete successfully
Actual behavior
TypeError: Cannot read properties of undefined (reading 'inTable')
Runtime
Node v18
Package manager
npm v9
OS
macOS
Build and bundle tools
Next.js