Snippet of code I am attempting to execute: https://github.com/nshaposhnik/react-native-maps-example
Currently using Windows 10.
My process:
Downloaded the code
Extracted the files to a folder
Set up by performing the following steps after deleting yarn.lock:
yarn add react-native-maps
yarn add react-native-maps-directions
yarn add react-native-google-places-autocomplete
npm install
npm audit fix
Modified the code in the 3 sections that require my personalized Google API key obtained from the developer site
Attempted to run using:
npm start
The terminal shows a successful run ("Welcome to React Native! Learn once, write anywhere"), however, no browser opens. When I navigate to localhost:8081
in my browser, I see a blank webpage with the message:
React Native packager is running.
Visit documentation
That's the extent of it. The sample project doesn't run at all. I simply want to launch their application in a browser or emulator. However, I currently don't have any phone emulators functioning, so I'm aiming to run it in a web browser.
Any guidance on getting this to work based on the above example would be greatly appreciated.