Running `expo start` fails with ENOENT error just after installing expo-cli on windows 10

I’m on Windows 10 Version 10.0.16299 Build 16299. I’m using Powershell. I just used yarn global add expo-cli to install expo, then I ran expo init my-app then cd my-app and expo start , but the build is failing. Here’s the error image and text:

[23:11:49] Starting project at C:\projects\my-app
[23:11:58] Starting Metro Bundler on port 19001.
[23:11:58] Metro Bundler ready.
[23:12:00] Expo DevTools is running at http://localhost:19002
[23:12:00] Opening DevTools in the browser... (press shift-d to disable)
Error: spawn cmd ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:229:19)
    at onErrorNT (internal/child_process.js:406:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)

Any ideas? All help appreciated.

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