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

react-native-screens could not be found #17

Open
Ding-Fan opened this issue Mar 1, 2020 · 2 comments
Open

react-native-screens could not be found #17

Ding-Fan opened this issue Mar 1, 2020 · 2 comments

Comments

@Ding-Fan
Copy link
Contributor

Ding-Fan commented Mar 1, 2020

当前问题

error: bundling failed: Error: Unable to resolve module `react-native-screens` from `node_modules/react-navigation-tabs/lib/module/navigators/createBottomTabNavigator.js`: react-native-screens could not be found within the project or in these directories:
  node_modules

I checked package.json and didn't see react-native-screens in the "dependencies": .

期待的正确输出

react-native-screens should be in the "dependencies": .

@geastwood
Copy link
Contributor

Where is this error coming from, I don't see it

@Ding-Fan
Copy link
Contributor Author

Ding-Fan commented Mar 2, 2020

Where is this error coming from, I don't see it

Run the command npx react-native run-android , after BUILD SUCCESSFUL , this error will occur on the "Metro Bundler" terminal window.

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

2 participants