GeekyAnts / vue-native-router

37 stars 24 forks source link

Why react-native-screens needed ? #35

Closed ludonvl closed 4 years ago

ludonvl commented 4 years ago

I'm just trying to use vue-native-router on a fresh vue-native project using react-native cli (not expo). After installing package needed like gesture-handler, paper, and reanimated the stackNavigator breaks and shows that Module : react-native-screens does not exist.

Capture d’écran 2020-08-02 à 23 39 44

What can I do ?

Thanks for some help

My package.json { "name": "test", "version": "0.0.1", "private": true, "scripts": { "start": "node node_modules/react-native/local-cli/cli.js start", "test": "jest" }, "dependencies": { "react": "16.8.3", "react-native": "0.59", "react-native-gesture-handler": "~1.3.0", "react-native-paper": "^2.16.0", "react-native-reanimated": "~1.2.0", "vue-native-core": "0.1.4", "vue-native-helper": "0.1.4", "vue-native-router": "~0.1.1" }, "devDependencies": { "@babel/core": "^7.0.0", "@babel/runtime": "^7.11.0", "babel-jest": "^26.2.2", "jest": "^26.2.2", "metro-react-native-babel-preset": "^0.61.0", "react-test-renderer": "16.8.3", "vue-native-scripts": "0.1.4" }, "jest": { "preset": "react-native" } }

elahekaramzade commented 4 years ago

same issue with using expo cli .

RishabhKarnad commented 4 years ago

react-native-screens is a required peerDependency of one of the modules in react-navigation. We'll make an effort to document the supported versions and peer dependencies in a better way going forward. It seems one of the dependencies added this as in a minor version update