You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an issue while building my MDX file, and it seems to be related to a TypeError in the mdast-util-gfm-table library. The error message is as follows:
Error: Found 1 problems in 1 documents.
└── Encountered unexpected errors while processing of 1 documents. This is possibly a bug in Contentlayer. Please open an issue.
• "style-guide.mdx": UnexpectedMDXError: Error: Build failed with 1 error:
_mdx_bundler_entry_point-be95c445-2787-4fd1-8b75-7261d55f44cc.mdx:0:0: ERROR: [plugin: @mdx-js/esbuild] TypeError: Cannot read properties of undefined (reading 'inTable')
at Object.exitCodeText (file:///C:/Users/Alex/Desktop/alexkuchar.com/node_modules/mdast-util-gfm-table/lib/index.js:123:17)
at compile (file:///C:/Users/Alex/Desktop/alexkuchar.com/node_modules/mdast-util-from-markdown/lib/index.js:352:40)
at fromMarkdown (file:///C:/Users/Alex/Desktop/alexkuchar.com/node_modules/mdast-util-from-markdown/lib/index.js:187:29)
at parser (file:///C:/Users/Alex/Desktop/alexkuchar.com/node_modules/@mdx-js/mdx/node_modules/remark-parse/lib/index.js:18:12)
at Function.parse (file:///C:/Users/Alex/Desktop/alexkuchar.com/node_modules/@mdx-js/mdx/node_modules/unified/lib/index.js:273:12)
at executor (file:///C:/Users/Alex/Desktop/alexkuchar.com/node_modules/@mdx-js/mdx/node_modules/unified/lib/index.js:393:31)
at new Promise (<anonymous>)
at Function.process (file:///C:/Users/Alex/Desktop/alexkuchar.com/node_modules/@mdx-js/mdx/node_modules/unified/lib/index.js:380:14)
at process (file:///C:/Users/Alex/Desktop/alexkuchar.com/node_modules/@mdx-js/mdx/lib/util/create-format-aware-processors.js:50:22)
at onload (file:///C:/Users/Alex/Desktop/alexkuchar.com/node_modules/@mdx-js/esbuild/lib/index.js:151:22)
at requestCallbacks.on-load (C:\Users\Alex\Desktop\alexkuchar.com\node_modules\esbuild\lib\main.js:1434:28)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at handleRequest (C:\Users\Alex\Desktop\alexkuchar.com\node_modules\esbuild\lib\main.js:729:13)
SourceFetchDataError: {
"_tag": "HandledFetchDataError"
}
I believe this may be a bug in Contentlayer or one of its dependencies. Here are the details:
MDX File: "style-guide.mdx"
Error Type: UnexpectedMDXError
Error Message: TypeError: Cannot read properties of undefined (reading 'inTable')
Library: mdast-util-gfm-table
Build Tool: @mdx-js/esbuild
This problem occurs specifically when attempting to create an inline code block by enclosing it within single backticks.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I encountered an issue while building my MDX file, and it seems to be related to a
TypeError
in themdast-util-gfm-table
library. The error message is as follows:I believe this may be a bug in Contentlayer or one of its dependencies. Here are the details:
This problem occurs specifically when attempting to create an inline code block by enclosing it within single backticks.
The text was updated successfully, but these errors were encountered: