Skip to content

[Bug]: Unable to build react-native-web storybook that uses expo components #31533

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

Open
LDilleyJ opened this issue May 21, 2025 · 0 comments
Open

Comments

@LDilleyJ
Copy link

Describe the bug

Cannot run build-storybook successfully for projects that contain stories that reference certain expo components.

Results in the following error:
=> Failed to build the preview [commonjs--resolver] Expression expected in ~/src/node_modules/expo-router/build/layouts/TabsClient.js

Reproduction link

https://stackblitz.com/edit/github-53vmpjj8

Reproduction steps

  1. Go to link above
  2. Run "yarn build-storybook" in the console
  3. The error can be observed

System

Not possible for v9

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant