- SDK Version: 49
- Platforms(Android/iOS/web/all): Android/iOS
On running “npx expo-doctor” I get an error:
Check dependencies for packages that should not be installed directly.
Detailed results of the check:
The package “expo-modules-autolinking” should not be installed directly in the project. It is a dependency of other Expo packages, which will automatically install it when needed.
Does anyone have an idea how to solve this problem?
If I test the application in Expo Go, everything works correctly, but when I create a build and try to open on Device via testFlight for example it immediately crashes.
Package.json =>
{
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
"eject": "expo eject"
},
"dependencies": {
"@expo/vector-icons": "^13.0.0",
"@react-native-async-storage/async-storage": "1.18.2",
"@react-navigation/bottom-tabs": "^6.5.3",
"@react-navigation/material-bottom-tabs": "^6.2.11",
"@react-navigation/native": "^6.1.2",
"@react-navigation/native-stack": "^6.9.8",
"@rneui/base": "^4.0.0-rc.3",
"@rneui/themed": "^4.0.0-rc.3",
"expo": "^49.0.13",
"expo-app-loading": "^1.0.3",
"expo-camera": "~13.4.4",
"expo-constants": "~14.4.2",
"expo-device": "~5.4.0",
"expo-file-system": "~15.4.4",
"expo-font": "~11.4.0",
"expo-image-picker": "~14.3.2",
"expo-linear-gradient": "~12.3.0",
"expo-modules-autolinking": "~1.5.0",
"expo-notifications": "~0.20.1",
"expo-permissions": "~14.2.1",
"expo-status-bar": "~1.6.0",
"expo-updates": "~0.18.16",
"firebase": "^8.10.1",
"moment": "^2.29.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.72.5",
"react-native-gesture-handler": "~2.12.0",
"react-native-image-pan-zoom": "^2.1.12",
"react-native-paper": "^4.12.5",
"react-native-reanimated": "~3.3.0",
"react-native-safe-area-context": "4.6.3",
"react-native-screens": "~3.22.0",
"react-native-vector-icons": "^9.2.0",
"react-native-web": "~0.19.6",
"react-navigation-header-buttons": "^6.3.1",
"react-redux": "^7.2.2",
"redux": "^4.0.5",
"redux-thunk": "^2.3.0",
"expo-splash-screen": "~0.20.5"
},
"private": true,
"name": "----",
"version": "1.0.0",
"devDependencies": {
"@babel/core": "^7.20.0"
}
}