Skip to content

Conversation

rpmccarter
Copy link
Contributor

@rpmccarter rpmccarter commented Dec 18, 2024

Got this fun error when trying to use this package:

⨯ Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import '/[...]/node_modules/@mintlify/mdx/dist/plugins' is not supported resolving ES modules imported from /[...]/node_modules/@mintlify/mdx/dist/client/rsc.js

Also updated module setting to avoid this in the future

Copy link

vercel bot commented Dec 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mdx-app-router ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 18, 2024 4:52am
mdx-pages-router ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 18, 2024 4:52am

Copy link
Member

@hahnbeelee hahnbeelee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hate this error. glad to get rid of it forever

@rpmccarter rpmccarter merged commit eab9962 into main Dec 18, 2024
3 checks passed
@rpmccarter rpmccarter deleted the ronan/fix-dir-import branch December 18, 2024 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants