Gor Gevorgyan
Gor Gevorgyan

Reputation: 48

How can I fix this expo-cli

I am using expo cli to make react native apps and while i run my app gating an error spawn powershell ENOENThere is my error

Upvotes: 0

Views: 143

Answers (1)

Giovanni Esposito
Giovanni Esposito

Reputation: 11156

Ciao, seems a problem with Powershell rather than expo-cli. Try to:

  1. add Powershell to PATH as %SystemRoot%/system32/WindowsPowerShell/v1.0;
  2. open Powershell as admin and launch this command Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force;
  3. restart pc.

Upvotes: 2

Related Questions