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

[Bug] Uncaught SyntaxError: ambiguous indirect export: mdx #537

Open
1 task
chrisolsen opened this issue Dec 22, 2022 · 0 comments
Open
1 task

[Bug] Uncaught SyntaxError: ambiguous indirect export: mdx #537

chrisolsen opened this issue Dec 22, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@chrisolsen
Copy link

What version of vite are you using?

3.2.5

System info and storybook versions

System:
OS: Linux 6.0 Fedora Linux 37 (Workstation Edition)
CPU: (4) x64 Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
Binaries:
Node: 18.12.1 - ~/.nvm/versions/node/v18.12.1/bin/node
npm: 8.19.2 - ~/.nvm/versions/node/v18.12.1/bin/npm
Browsers:
Firefox: 108.0
npmPackages:
@storybook/addon-actions: ^6.5.15 => 6.5.15
@storybook/addon-backgrounds: ^6.5.15 => 6.5.15
@storybook/addon-docs: ^6.5.15 => 6.5.15
@storybook/addon-essentials: ~6.5.9 => 6.5.15
@storybook/addon-measure: ^6.5.15 => 6.5.15
@storybook/addon-outline: ^6.5.15 => 6.5.15
@storybook/builder-vite: ~0.2.6 => 0.2.6
@storybook/client-api: ^6.5.15 => 6.5.15
@storybook/client-logger: ^6.5.15 => 6.5.15
@storybook/core-server: ~6.5.9 => 6.5.15
@storybook/react: ~6.5.9 => 6.5.15
@storybook/react-vite: 7.0.0-alpha.25 => 7.0.0-alpha.25

Describe the Bug

Storybook starts without any terminal errors, but when localhost:4400 is opened the story doesn't load and I see the following error in the console

Uncaught SyntaxError: ambiguous indirect export: mdx

Link to Minimal Reproducible Example

https://github.com/chrisolsen/vite-storybook-issue-2

Participation

  • I am willing to submit a pull request for this issue.
@chrisolsen chrisolsen added the bug Something isn't working label Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant