React-native-router-flux: Module `react-native-screens` does not exist in the Haste module map

Created on 11 Feb 2020  Â·  6Comments  Â·  Source: aksonov/react-native-router-flux

Screen Shot 2020-02-12 at 02 29 39

The package.json file
"@expo/vector-icons": "^9.0.0",
"@types/react-native-fbsdk": "^0.6.2",
"@types/react-native-i18n": "^2.0.0",
"@types/react-native-loading-spinner-overlay": "^0.5.1",
"@types/react-native-safari-view": "^2.0.4",
"@types/react-native-vector-icons": "^4.6.4",
"@types/react-navigation": "^3.0.1",
"@types/react-redux": "^6.0.12",
"@types/uuid": "^3.4.4",
"axios": "^0.18.0",
"babel-core": "^7.0.0-bridge",
"native-base": "^2.12.1",
"query-string": "^6.8.1",
"react": "16.8.3",
"react-native": "0.59.9",
"react-native-config": "^0.11.7",
"react-native-drawer": "^2.5.1",
"react-native-elements": "^0.19.1",
"react-native-fbsdk": "^0.8.0",
"react-native-flash-message": "^0.1.10",
"react-native-google-signin": "^1.0.2",
"react-native-i18n": "^2.0.15",
"react-native-linkedin": "^1.3.1",
"react-native-linkedin-signin": "^0.0.2",
"react-native-loading-spinner-overlay": "^1.0.1",
"react-native-router-flux": "^4.0.6",
"react-native-safari-view": "^2.1.0",
"react-native-vector-icons": "^6.2.0",
"react-native-webview": "^5.8.1",
"react-navigation": "^3.0.9",
"react-redux": "^6.0.0",
"redux": "^4.0.1",
"redux-saga": "^0.16.2",
"rn-linkedin-login": "^1.0.4",
"uuid": "^3.3.2"

Warning for installing the node_module:
warning "react-native-router-flux > [email protected]" has unmet peer dependency "react-native-gesture-handler@^1.0.12".
warning "react-native-router-flux > [email protected]" has unmet peer dependency "react-native-reanimated@^1.0.0".
warning "react-native-router-flux > [email protected]" has unmet peer dependency "react-native-screens@^1.0.0 || ^1.0.0-alpha".
warning "react-native-router-flux > [email protected]" has unmet peer dependency "react-native-gesture-handler@^1.0.0".
warning "react-native-router-flux > [email protected]" has unmet peer dependency "react-native-screens@^1.0.0 || ^1.0.0-alpha".
warning "react-native-router-flux > [email protected]" has unmet peer dependency "react-native-gesture-handler@^1.0.0".
warning "react-native-router-flux > [email protected]" has unmet peer dependency "react-native-reanimated@^1.0.0-alpha".
warning "react-native-router-flux > [email protected]" has unmet peer dependency "react-native-screens@^1.0.0 || ^1.0.0-alpha".
warning "react-native-router-flux > react-navigation-tabs > [email protected]" has unmet peer dependency "react-native-gesture-handler@".
warning "react-native-router-flux > react-navigation-tabs > [email protected]" has unmet peer dependency "react-native-reanimated@
".
warning "react-navigation > [email protected]" has unmet peer dependency "react-native-gesture-handler@^1.0.12".
warning "react-navigation > [email protected]" has unmet peer dependency "react-native-screens@^1.0.0 || ^1.0.0-alpha".
warning "react-navigation > [email protected]" has unmet peer dependency "react-native-gesture-handler@^1.0.0".
warning "react-navigation > [email protected]" has unmet peer dependency "react-native-screens@^1.0.0 || ^1.0.0-alpha".
warning "react-navigation > [email protected]" has unmet peer dependency "react-native-screens@^1.0.0 || ^1.0.0-alpha".

Can you help me?

Most helpful comment

You figure this out?

EDIT:

I was able to get things working by installing the following packages:
react-native-screens
react-native-reanimated
react-native-gesture-handler

then cd ios & pod install

then quit metro bundler, clean build folder and rebuild.

All 6 comments

You figure this out?

EDIT:

I was able to get things working by installing the following packages:
react-native-screens
react-native-reanimated
react-native-gesture-handler

then cd ios & pod install

then quit metro bundler, clean build folder and rebuild.

Hey, I'm having the same problem here, tried every thing and nothing work, please some help me.

+1

Hey, I'm having the same problem here, tried every thing and nothing work, please some help me.

I am also having same problem. I am desperately searching for the solution.

@salgadohp and others Check @alittletf answer. You should install them manually, as described in docs for react-navigation

固定版本 4.0.6 就没问题了

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wootwoot1234 picture wootwoot1234  Â·  3Comments

vinayr picture vinayr  Â·  3Comments

fgrs picture fgrs  Â·  3Comments

xnog picture xnog  Â·  3Comments

kirankalyan5 picture kirankalyan5  Â·  3Comments