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]: sb init for react-native asks for builder type (webpack/vite) - this doesn't apply #23041

Closed
dannyhw opened this issue Jun 13, 2023 · 1 comment · Fixed by #23042
Closed

Comments

@dannyhw
Copy link
Member

dannyhw commented Jun 13, 2023

Describe the bug

Running
npx sb init --type react_native

image

choosing vite/webpack doesn't make sense in this context so should be skipped for react native

To Reproduce

yarn create expo-app
npx sb init --type react_native

System

npx storybook@latest info
Need to install the following packages:
  [email protected]
Ok to proceed? (y) y

Environment Info:

  System:
    OS: macOS 13.4
    CPU: (10) arm64 Apple M1 Max
  Binaries:
    Node: 18.16.0 - ~/Library/pnpm/node
    Yarn: 1.22.19 - ~/Library/pnpm/yarn
    npm: 9.5.1 - ~/Library/pnpm/npm
  Browsers:
    Chrome: 114.0.5735.106
    Safari: 16.5
  npmPackages:
    @storybook/addon-actions: ^6.5.16 => 6.5.16
    @storybook/addon-controls: ^6.5.16 => 6.5.16
    @storybook/addon-ondevice-actions: ^6.5.3 => 6.5.3
    @storybook/addon-ondevice-controls: ^6.5.3 => 6.5.3
    @storybook/react-native: ^6.5.3 => 6.5.3

Additional context

No response

@dannyhw dannyhw changed the title [Bug]: [Bug]: sb init for react-native asks for builder type Jun 13, 2023
@dannyhw dannyhw added the cli label Jun 13, 2023
@dannyhw dannyhw changed the title [Bug]: sb init for react-native asks for builder type [Bug]: sb init for react-native asks for builder type (webpack/vite) - this doesn't apply Jun 13, 2023
@dannyhw
Copy link
Member Author

dannyhw commented Jun 13, 2023

seems like this might have been introduced in #22492

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants