Programming Tutorials

Some dependencies are incompatible with the installed expo version:

By: Yolander in React-Native Tutorials on 2023-05-10  

When you start an expo project by running 'expo start' or 'npx expo start', if you are getting this error:

Some dependencies are incompatible with the installed expo version:

expo-modules-core@1.2.6 - expected version: ~1.2.7

expo-splash-screen@0.18.1 - expected version: ~0.18.2

react-native@0.71.6 - expected version: 0.71.7

Your project may not work correctly until you install the correct versions of the packages.

Install individual packages by running npx expo install expo-modules-core@~1.2.7 expo-splash-screen@~0.18.2 [email protected]

You can resolve this by either running the 'expo update' or 'npx expo update' to update all the dependencies for expo or as the error message suggests you can install individual packages by running 

npx expo install expo-modules-core@~1.2.7 expo-splash-screen@~0.18.2 [email protected]

Note that in your case it might be different dependencies and different versions.






Add Comment

* Required information
1000

Comments

No comments yet. Be the first!

Most Viewed Articles (in React-Native )

Remove all installed dependencies and install them again

use axios in Expo to call APIs

Start background location tracking after login in expo react native

'import' and 'export' may only appear at the top level - React Native

Session variables in React Native - Expo

disable the back arrow in the header of a screen in a React Navigation Stack Navigator

react-native-background-job alternative in expo app

Error Handling in TextInput - React Native

set up a global error handler in React Native (expo)

react-native-android-location-services-dialog-box alternative in expo

Some dependencies are incompatible with the installed expo version:

npm install vs npx expo install

loadAsync() vs useFonts() in expo - react native

flexDirection in React Native

expo-secure-store to store sensitive data securely in React Native

Latest Articles (in React-Native)

Session variables in React Native - Expo

use axios in Expo to call APIs

Start background location tracking after login in expo react native

set up a global error handler in React Native (expo)

SafeAreaView in React Native

Some dependencies are incompatible with the installed expo version:

disable the back arrow in the header of a screen in a React Navigation Stack Navigator

react-native-android-location-services-dialog-box alternative in expo

Error Handling in TextInput - React Native

react-native-background-job alternative in expo app

'import' and 'export' may only appear at the top level - React Native

OpenType (OTF) vs TrueType (TTF)

loadAsync() vs useFonts() in expo - react native

expo-secure-store vs expo-file-system in expo - react native

Send push notifications to android/ios sample code using expo - react native