I'm following the steps provided in the Documentation to set up the environment for React Native.
I have installed create-react-native-app
as well as expo-cli
.
Further I have created an app using expo init
.
Now when I'm trying to run the app with yarn start
or npm start
I get the following error:
Error: spawn powershell ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
error Command failed with exit code 1.
How do i solve it? is that something related to powershell? (But i get it in Command Prompt too)
P.S. I'm using Windows 8, Expo 3.24.2, yarn 1.22.4, node 10.15.3
I also faced the same error while running yarn start. To fix this: go to
Error is gone :)