Hope it can be silly question but as I'm new in react-native development, don't know how to get rid of this.
I want to put annotations on MapView & it seems this tutorial from react-community is the best way to do it.
I followed the guidelines from this tutorial, created react-native project, it works perfectly.
I run these commands to link react-native-maps,
npm install react-native-maps --save
react-native link
It gives me following output,
But when I try this line,
import MapView from "react-native-maps";
it gives me this error, please find below screenshot.
I tried every thing from top to bottom, clean cache, restarted Metro Bundler every thing but didn't get success yet.
These tutorials I have searched to implement MapView in react-native,



react-native-mapsare wildly out of date with installation instructions. For example, DO NOT USEreact-native linkis very clearly stated in the official project's installation docs. Always use the official docs first before following tutorials; especially when using native modules on React Native because of the fast changing environment. Start over and use the official installation instructions first and see if that works.