Reputation: 4966
I'm getting this error when launching Expo on my iOS simulator.
The experience you requested uses Expo SDK v(null), but this copy of Expo Client requires at least v23.0.0. The author should update their experience to a newer Expo SDK version.
I've seen this answer Expo not loading (React-Native) -- null Expo SDK version but the solution does not work for me. I already have the sdkVersion in my app.json:
"expo": {
"sdkVersion": "22.0.0"
}
I tried yarn upgrade --latest
but still no luck. Any ideas are appreciated. I'm using expo-cli --version 1.1.0
Upvotes: 16
Views: 25345
Reputation: 687
expo upgrade
in your project directory (requires the latest version of expo-cli, you can update with npm i -g expo-cli
).expo start -c
source: https://blog.expo.io/expo-sdk-35-is-now-available-beee0dfafbf4
Upvotes: 14
Reputation: 2111
Don't edit package.json directly. You need to run the expo command expo update XX.X.X
See the Expo documentation
In my case, it was solved executing: expo update 39.0.0
Upvotes: 1
Reputation: 101
Upvotes: 3
Reputation: 4966
The answer is updating the SDK by making the following changes.
Source: https://blog.expo.io/expo-sdk-v27-0-0-is-now-available-898bf1e5b0e4
Upvotes: 19
Reputation: 451
Same "experience you requested" message launching on iPhone...solved it with;
1) update Expo SDK following... https://blog.expo.io/expo-sdk-v32-0-0-is-now-available-6b78f92a6c52
2) updating .babelrc to be similar to... https://babeljs.io/docs/en/configuration
3) did this command too... clears caches, etc... watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf $TMPDIR/haste-map-react-native-packager-* && rm -rf node_modules/&& npm install
Upvotes: 2