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

vue3 can not use mdx @mdx-js_react.js does not provide an export named 'mdx' #18451

Closed
rashagu opened this issue Jun 10, 2022 · 1 comment
Closed

Comments

@rashagu
Copy link

rashagu commented Jun 10, 2022

Describe the bug
vue3 can not use mdx The requested module
'/node_modules/.vite-storybook/deps/@mdx-js_react.js?v=fdc54a7b' does not provide an export named 'mdx'

To Reproduce

System
Please paste the results of npx sb@next info here.

  OS: Windows 10 10.0.19044
  CPU: (4) x64 Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz
Binaries:
  Node: 16.15.0 - C:\Program Files\nodejs\node.EXE
  Yarn: 1.22.18 - C:\Program Files\nodejs\yarn.CMD
  npm: 8.11.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
  Edge: Spartan (44.19041.1266.0), Chromium (102.0.1245.33)

sb: 6.5.8
vue3: 3.2.37

Additional context
Add any other context about the problem here.

@rashagu rashagu changed the title vue3 can not use mdx The requested module vue3 can not use mdx @mdx-js_react.js does not provide an export named 'mdx' Jun 10, 2022
@joshwooding
Copy link
Member

This is a vite builder issue and a duplicate of storybookjs/builder-vite#398. @rashagu please check that issue for a workaround for now.

@joshwooding joshwooding closed this as not planned Won't fix, can't repro, duplicate, stale Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants