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
It raises this exception in 'next dev' mode: Package path ./codes.js is not exported from package /.../web/node_modules/micromark-util-symbol
[1] automatically enabled Fast Refresh for 1 custom loader
[1] ⨯ ../../node_modules/micromark-extension-mdx-expression/node_modules/micromark-util-character/dev/index.js:5:1
[1] Module not found: Package path ./codes.js is not exported from package /.../web/node_modules/micromark-util-symbol (see exports field in /.../web/node_modules/micromark-util-symbol/package.json)
[1]
[1] https://nextjs.org/docs/messages/module-not-found
[1]
[1] Import trace for requested module:
[1] ../../node_modules/micromark-extension-mdx-expression/dev/lib/syntax.js
[1] ../../node_modules/micromark-extension-mdx-expression/dev/index.js
[1] ../../node_modules/micromark-extension-mdxjs/index.js
Reproduction
Use Next 14.2.12 and next-mdx-remote v5.0.0.
Try to serialize using next-mdx-remote/serialize
Note: these combinations work fine:
a. Next 14.2.12 and next-mdx-remote v4.4.1
b. Next 14.2.4 and next-mdx-remote v5.0
Probably the issue is with Next.
next-mdx-remote version
v5.0.0
The text was updated successfully, but these errors were encountered:
Describe the bug
Importing next-mdx-remote is raising this :
It raises this exception in 'next dev' mode: Package path ./codes.js is not exported from package /.../web/node_modules/micromark-util-symbol
[1] automatically enabled Fast Refresh for 1 custom loader
[1] ⨯ ../../node_modules/micromark-extension-mdx-expression/node_modules/micromark-util-character/dev/index.js:5:1
[1] Module not found: Package path ./codes.js is not exported from package /.../web/node_modules/micromark-util-symbol (see exports field in /.../web/node_modules/micromark-util-symbol/package.json)
[1]
[1] https://nextjs.org/docs/messages/module-not-found
[1]
[1] Import trace for requested module:
[1] ../../node_modules/micromark-extension-mdx-expression/dev/lib/syntax.js
[1] ../../node_modules/micromark-extension-mdx-expression/dev/index.js
[1] ../../node_modules/micromark-extension-mdxjs/index.js
Reproduction
Use Next 14.2.12 and next-mdx-remote v5.0.0.
Try to serialize using next-mdx-remote/serialize
Note: these combinations work fine:
a. Next 14.2.12 and next-mdx-remote v4.4.1
b. Next 14.2.4 and next-mdx-remote v5.0
Probably the issue is with Next.
next-mdx-remote version
v5.0.0
The text was updated successfully, but these errors were encountered: