So I encountered a lot of problems with dependencies for example I can't install 'react-leaftlet' to use map because it conflicts things. I checked brand new expo react-native app dependencies' versions and it looks like some of them are old versions.
{
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject"
},
"dependencies": {
"expo": "~40.0.0",
"expo-status-bar": "~1.0.3",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz",
"react-native-web": "~0.13.12"
},
"devDependencies": {
"@babel/core": "~7.9.0"
},
"private": true
}
For example react should be 17.0.1, babel/core should be 7.13 and so on. It doesn't allow me to update. By the way my expo version is the latest.