Got this lint error in my VS Code:
Unable to resolve path to module 'react-native-screens'.eslint(import/no-unresolved) module "react-native-screens"
You need to install 3 more libs react-native-gesture-handler , react-native-reanimated , and react-native-screens in order to work with navigation.
Run this code :
npm install --save react-native-gesture-handler react-native-reanimated react-native-screens
For more information visit - here
If you have the only issue with screens package install only that dependency
Hope this helps :)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.