Error: Invalid sdkVersion. Valid options are
See original GitHub issueDescription
I created new app with create-react-native-app
and trying to run it from app directory with yarn ios
and getting:
03:18:26: Starting packager...
***ERROR STARTING PACKAGER***
Error: Invalid sdkVersion. Valid options are 10.0.0, 11.0.0, 12.0.0, 13.0.0, 14.0.0, 15.0.0, 16.0.0, 17.0.0, 18.0.0, 19.0.0, 20.0.0, 21.0.0, 22.0.0, 23.0.0, 24.0.0, 25.0.0, 7.0.0, 8.0.0, 9.0.0
Expected Behavior
My app correctly runs in emulator
Observed Behavior
I’m getting the Error: Invalid sdkVersion. Valid options are
in console and same error in expo app in ios emulator.
Environment
-
npm ls react-native-scripts
: defiler@0.1.0 /Users/tolik/dev/go/src/defiler/mobile └── react-native-scripts@1.13.2 -
npm ls react-native
: defiler@0.1.0 /Users/tolik/dev/go/src/defiler/mobile └── react-native@0.54.4 -
npm ls expo
: defiler@0.1.0 /Users/tolik/dev/go/src/defiler/mobile └── expo@26.0.0 -
node -v
: v9.4.0 -
npm -v
: 5.6.0 -
yarn --version
: 1.3.2 -
watchman version
: { “version”: “4.9.0” }
Operating system: mac os.
app.json:
{
"expo": {
"sdkVersion": "26.0.0"
}
}
Issue Analytics
- State:
- Created 5 years ago
- Reactions:16
- Comments:17 (1 by maintainers)
Top Results From Across the Web
Invalid sdkVersion. Valid options are 10.0.0, 11.0.0, 12.0.0 ...
This is a bug for the current package of either create-react-native-app or one of the modules it consumes. We can fix this by...
Read more >[Solved]-Invalid sdkVersion. Valid options are 10.0.0, 11.0.0 ...
Coding example for the question Invalid sdkVersion. Valid options are 10.0.0, 11.0.0, 12.0.0, 13.0.0-React Native.
Read more >Error: Invalid sdkVersion. Valid options are - Bountysource
Observed Behavior. I'm getting the Error: Invalid sdkVersion. Valid options are in console and same error in expo app in ios emulator.
Read more >Latest SDK 42 doesnt work with latest expo go client app
When it comes to the android and IOS simulators both throw exactly the same error; (i am using SDK v42). Invalid sdkVersion. Valid...
Read more >Error please help - Code with Mosh Forum
Error : Invalid sdkVersion. Valid options are 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.0.0, 12.0.0, 13.0.0, 14.0.0, 15.0.0, 16.0.0, 17.0.0, 18.0.0, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I did it! I just removed & installed again
create-react-native-app
.npm uninstall -g create-react-native-app
npm i -g create-react-native-app
I can’t believe that it works. @mirth have you solved your problem?
Hey quick comment,
I was running into the same issue, turns out I changed the node version using nvm and was getting the exact same error. So make use you get back to your project with the previous version. It did work for me.
cheers