-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[error]Cannot process MDX file with esbuild #223
Comments
I had this same error today. I'm using Remix and had mdx-bundler inside serverDependenciesToBundle in remix.config.js, which was required for v9.x. Removing it again fixed the issue. I.e.: //remix.config.js
serverDependenciesToBundle: [
/^mdx-bundler.*/", // remove this entry
], |
I removed remark-gfm and it worked, but I need remark-gfm |
Does the gfm plugin for mdx-bundler(v10) exist in error handling for backquotes? The gfm plugin for mdx-bundler(v9) handles backquotes correctly |
We're using remark-gfm in production as well with no issues - are you using [email protected] and [email protected]? Here's our full serverDependenciesToBundle - maybe it will work for you 🤞🏻 serverDependenciesToBundle: [
// MDX:
/^rehype.*/,
/^remark.*/,
/^unified.*/,
/^unist.*/,
/^mdast.*/,
/^micromark.*/,
"devlop",
"ccount",
"markdown-table",
"zwitch",
"fault",
"decode-named-character-reference",
"longest-streak",
"character-entities",
], |
getting this error when trying to using:
|
I came to this problem when I write the ill mermaid graph code like this
after a deep look at the mdx-mermaid plugin process logic I got no error but the undefined empty result of this function.
Error disappeard |
v10.0.1 bug?
show:Cannot process MDX file with esbuild [plugin @mdx-js/esbuild]
version @9 is running properly
The text was updated successfully, but these errors were encountered: