I cloned the repository here(https://github.com/bramus/react-native-maps-directions-example.git): and then i faced 2 issues:
-
yarn install fails because off this line 11 "preinstall": "mkdir -p ./node_modules && touch ./node_modules/.metadata_never_index" in the package.json
I resolved the above issue by first commenting/removing the line off the package.json file
-
on react-native run-android fails to install on the android device because of the error: -> see screenshot below
