react-native-story icon indicating copy to clipboard operation
react-native-story copied to clipboard

Unable to resolve module 'react-native-modalbox'

Open omaryoussef opened this issue 5 years ago • 3 comments

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.

omaryoussef avatar Jan 19 '20 20:01 omaryoussef

Thank you for additional feedback. will add soon 👍

ue avatar Feb 17 '20 21:02 ue

yes this need to be done

blackwolf08 avatar Feb 27 '20 18:02 blackwolf08

solved npm install --save react-native-modalbox

Osamasomy avatar Aug 27 '20 20:08 Osamasomy