42.0.0 is not a valid SDK Version, Options are 33.0.0 UNVERSIONED

I updated my React native expo project, expo SDK, and expo cli with the latest version but am getting a new error. I tried to clean the project, rebuild, and invalid caches. and I updated expo cli to latest version but still, I get errors.

  1. SDK Version:42.0.0
  2. Platforms(Android/iOS/web/all): android

package.json
{
“main”: “node_modules/expo/AppEntry.js”,
“private”: true,
“dependencies”: {
“apisauce”: “^0.15.1”,
“axios”: “^0.22.0”,
“base-64”: “^0.1.0”,
“expo”: “^42.0.0”,
“expo-analytics”: “1.0.13”,
“expo-analytics-segment”: “~10.2.1”,
“expo-app-auth”: “~10.2.2”,
“expo-app-loader-provider”: “~8.0.0”,
“expo-av”: “~9.2.3”,
“expo-background-fetch”: “~9.2.2”,
“expo-barcode-scanner”: “~10.2.2”,
“expo-brightness”: “~9.2.2”,
“expo-calendar”: “~9.2.2”,
“expo-camera”: “~11.2.2”,
“expo-constants”: “~11.0.1”,
“expo-contacts”: “~9.2.5”,
“expo-crypto”: “~9.2.0”,
“expo-document-picker”: “~9.2.4”,
“expo-face-detector”: “~10.1.1”,
“expo-facebook”: “~11.3.1”,
“expo-file-system”: “~11.1.3”,
“expo-font”: “~9.2.1”,
“expo-gl”: “~10.4.2”,
“expo-gl-cpp”: “~10.4.1”,
“expo-google-sign-in”: “~9.2.1”,
“expo-haptics”: “~10.1.0”,
“expo-image-manipulator”: “~9.2.2”,
“expo-image-picker”: “~10.2.2”,
“expo-intent-launcher”: “~9.1.0”,
“expo-keep-awake”: “~9.2.0”,
“expo-linear-gradient”: “~9.2.0”,
“expo-local-authentication”: “~11.1.1”,
“expo-localization”: “~10.2.0”,
“expo-location”: “~12.1.2”,
“expo-mail-composer”: “~10.2.2”,
“expo-media-library”: “~12.1.2”,
“expo-permissions”: “~12.1.1”,
“expo-print”: “~10.2.1”,
“expo-random”: “~11.2.0”,
“expo-secure-store”: “~10.2.0”,
“expo-sensors”: “~10.2.2”,
“expo-sharing”: “~9.2.1”,
“expo-sms”: “~9.2.3”,
“expo-speech”: “~9.2.0”,
“expo-sqlite”: “~9.2.1”,
“expo-task-manager”: “~9.2.2”,
“expo-web-browser”: “~9.2.0”,
“expokit”: “^33.0.4”,
“lodash”: “^4.17.21”,
“native-base”: “^2.4.2”,
“react”: “16.13.1”,
“react-native”: “https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz”,
“react-native-applozic-chat”: “^1.1.7”,
“react-native-aws3”: “0.0.9”,
“react-native-base64”: “0.0.2”,
“react-native-check-box”: “^2.1.0”,
“react-native-customized-image-picker”: “^0.1.5”,
“react-native-device-info”: “^0.11.0”,
“react-native-draggable”: “^1.0.14”,
“react-native-expo-image-cache”: “^3.1.1”,
“react-native-firebase”: “^5.4.3”,
“react-native-fs”: “^2.18.0”,
“react-native-image-pan-zoom”: “^2.1.7”,
“react-native-image-picker”: “^0.28.1”,
“react-native-keyboard-aware-scrollview”: “^2.1.0”,
“react-native-maps”: “0.28.0”,
“react-native-material-dropdown”: “^0.11.1”,
“react-native-modal”: “^11.5.3”,
“react-native-photo-upload”: “^1.3.0”,
“react-native-ratings”: “^6.5.0”,
“react-native-snap-carousel”: “^3.7.2”,
“react-native-unimodules”: “~0.14.5”,
“react-navigation”: “^1.6.1”,
“react-navigation-redux-helpers”: “^1.0.5”,
“react-redux”: “^5.0.7”,
“react-timer-mixin”: “^0.13.4”,
“redux”: “^4.0.0”,
“redux-logger”: “^3.0.6”,
“redux-saga”: “^0.16.0”,
“underscore”: “^1.13.1”
},
“devDependencies”: {
“jetifier”: “^1.6.8”
}
}

This looks like an expokit project to me, which has been deprecated (for quite a while), and you also need to follow special steps for upgrading Expokit projects, which you cannot do anymore because we don’t update expokit.

Moving over to the bare workflow will make your life much easier :+1:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.