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

Unable to resolve module 'react-native-modalbox' #15

Open
omaryoussef opened this issue Jan 19, 2020 · 3 comments
Open

Unable to resolve module 'react-native-modalbox' #15

omaryoussef opened this issue Jan 19, 2020 · 3 comments

Comments

@omaryoussef
Copy link

omaryoussef commented Jan 19, 2020

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.

@ue
Copy link
Owner

ue commented Feb 17, 2020

Thank you for additional feedback. will add soon 👍

@blackwolf08
Copy link

yes this need to be done

@Osamasomy
Copy link

solved
npm install --save react-native-modalbox

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

No branches or pull requests

4 participants