react-native-story
react-native-story copied to clipboard
Unable to resolve module 'react-native-modalbox'
Right after installation I got the following error:
Error: Unable to resolve module `react-native-modalbox` from `node_modules/react-native-story/src/components/story/view/storyView.js`: react-native-modalbox could not be found within the project.
If you are sure the module exists, try these steps:
1. Clear watchman watches: watchman watch-del-all
2. Delete node_modules: rm -rf node_modules and run yarn install
3. Reset Metro's cache: yarn start --reset-cache
4. Remove the cache: rm -rf /tmp/metro-*
Running npm install react-native-modalbox --save
fixes it. But this needs to be added as a dependency for this package.
Thank you for additional feedback. will add soon 👍
yes this need to be done
solved npm install --save react-native-modalbox