storybook: Storybook does not work with RN0.59.+
Describe the bug Unable to load findSymlinksPaths: Cannot find module ‘react-native/local-cli/util/findSymlinksPaths’
error: unknown option `–projectRoots’
To Reproduce Steps to reproduce the behavior:
- Upgrade to latest react-native version
- run storybook start -p 7007 | react-native start --projectRoot storybook
Additional context I think the problem is because the path is wrong, now the cli is from @react-community/cli
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 15 (5 by maintainers)
Commits related to this issue
- deps: downgrade storybook to 4.x see: https://github.com/storybooks/storybook/issues/6452 issue above still open as of today — committed to loadsmart/blocks by barbosa 5 years ago
- deps: downgrade storybook to 4.x see: https://github.com/storybooks/storybook/issues/6452 issue above still open as of today — committed to loadsmart/blocks by barbosa 5 years ago
The solution for me was to modify package.json to :
work well with react-native 0.59.2
I’ve solved this adding
react-domas devDep and then adding this tometro.config.js: