Expo fails to start on Windows 7


#1

I’m having trouble getting started with Expo on Windows 7. I perform the following steps:

  1. npm install -g expo-cli
  2. expo init my-app
  3. cd my-app
  4. expo start

That produces the following messages:
[12:37:41] Warning: Problem validating app.json: Unable to perform cache refresh for C:\Users\tommer\AppData\Local\Expo\schema-32.0.0.json: Error: Request failed with status code 400.
[12:37:41] 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, 26.0.0, 27.0.0, 28.0.0, 29.0.0, 30.0.0, 31.0.0, 7.0.0, 8.0.0, 9.0.0

I see that I do not in fact have a schema-32.0.0.json file in AppData\Local\Expo; the only file there is versions.json. npm reports that I do have expo@32.0.0 installed, though, as well as expo-cli@2.6.14.

expo diagnostics shows:
Expo CLI 2.6.14 environment info:
System:
OS: Windows 7
Binaries:
Node: 10.15.0 - C:\nodejs\node.EXE
npm: 6.4.1 - C:\nodejs\npm.CMD
IDEs:
Android Studio: Version 3.2.0.0 AI-181.5540.7.32.5056338

Help?


#2

Hey @tommer,

Can you make sure you have the latest version of Expo Client installed?

Cheers,

Adam


#3

Hello Adam,

I don’t know how to install the Expo Client manually. I’ve attempted to get it installed via DevTools / Run on Android device/emulator but that fails with “Couldn’t start project on Android: Error running adb: Request failed with status code 400”. adb itself is installed and shows that my emulator device is running. Should I install the Expo Client some other way?


#4

It might be that there’s some fundamental incompatibility with Windows 7, but I’d like to at least understand what’s failing before upgrading to Windows 10. Can anyone give me any tips on how to troubleshoot these problems? Specifically, how can I find out what “status code 400” is about?

Thanks.