Skip to content
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

[WARNING] {"moduleIdentifier":.....} imported as mdx was not found in @mdx-js/react #89

Open
sedghi opened this issue Jan 20, 2023 · 1 comment

Comments

@sedghi
Copy link

sedghi commented Jan 20, 2023

I'm seeing a ton of warnings which have structure like

[WARNING] {"moduleIdentifier":"/Users/alireza/dev/my-repo/node_modules/esbuild-loader/dist/index.js??ruleSet[1].rules[10].use[0]!/Users/alireza/dev/my-repo/node_modules/@docusaurus/mdx-loader/lib/index.js??ruleSet[1].rules[10].use[1]!/Users/alireza/dev/my-repo/node_modules/docusaurus-plugin-typedoc-api/lib/markdownLoader.js!/Users/alireza/dev/my-repo/packages/docs/docs/tutorials/intro.md","moduleName":"./docs/tutorials/intro.md","loc":"55:185-188","message":"export 'mdx' (imported as 'mdx') was not found in '@mdx-js/react' (possible exports: MDXContext, MDXProvider, useMDXComponents, withMDXComponents)","compilerPath":"server"}

I have the following dependencies

"dependencies": {
    "@docusaurus/core": "2.2.0",
    "@docusaurus/module-type-aliases": "2.2.0",
    "@docusaurus/preset-classic": "2.2.0",
    "@mdx-js/react": "^2.2.1",
    "docusaurus-plugin-copy": "^0.1.1",
    "docusaurus-plugin-typedoc-api": "^2.5.1",
  },

any idea what is going on?

@milesj
Copy link
Owner

milesj commented Jan 23, 2023

Need more information. Is this happening on all pages? Or a specific page? Is your MDX correct? Whats your config? etc.

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

No branches or pull requests

2 participants