SB5 React Native multiple installation issues
See original GitHub issueDescribe the bug
Installation with npx -p @storybook/cli sb init
does three weird things:
-
“WARNING: We noticed you’re using the
useBuiltIns
option without declaring a core-js version”. Not a big deal I guess, but concerning. -
“Please choose a version of “@storybook/react-native” from this list:” I’ve chosen the latest 5.1.0-alpha.13. After installation, this end up installed and in my package.json:
"@storybook/react-native": "^5.0.5",
"@storybook/addon-actions": "^5.0.5",
"@storybook/addon-links": "^5.0.5",
"@storybook/addons": "^5.0.5",
Not what I selected.
- Last and most troubling, when I run
yarn run storybook
ornpm run storybook
, all I get is:
/bin/sh: storybook: command not found
Indeed there is no storybook binary in /node_modules/.bin/
To Reproduce Run react-native init test cd test npx -p @storybook/cli sb init npm run storybook
Expected behavior To start storybook without any issues
System:
- OS: MacOS
- Device: Macbook Air 2018
- Framework: React Native 0.59.1
- Env: node v10.15.3, npm 6.4.1, yarn 1.15.2
Thanks for looking into this
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
react-native-date-picker null is not an object - You.com | The search ...
SB5 React Native multiple installation issues https://github.com/storybooks/storybook/issues/6253. /bin/sh: storybook: command not found. Open side panel.
Read more >Problem encountered in installing react-native - Stack Overflow
This is a react-native installation issue: error Failed to install the app. Make sure you have the Android development environment set up: https ......
Read more >tsconfig.json · c381dca73b7cb6be3b46226850db12c5e03d96f3 ...
"checkJs": true, /* Report errors in .js files. */. 12. // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */....
Read more >react-native-multi-options - npm
A simple select component for React Native.. Latest version: 0.2.12, last published: 8 days ago. Start using react-native-multi-options in ...
Read more >https://www.ncbi.nlm.nih.gov/books/NBK581903/bin/D...
Test takers react to target letters on a computer screen and CPT II measures Response Time, Errors, Change in Reaction Time Speed and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I installed storybook with
npx -p @storybook/cli sb init
today…as suggested from the the cli, i installed
core-js@3
, then the start script was not found.but after installing
@storybook/react-native-server
and updating storybook script to `start-storybook -p 7111" i solved the problemOh, I missed the last instruction of the migration info. So I guess it’s fine, everyone with the same problem will find this thread. Just update the docs with the new command when it’s out of alpha. Thanks for your patience! 😃