expo version command shows running scripts disabled on this machine

前端 未结 6 1568
猫巷女王i
猫巷女王i 2021-01-03 11:40

I am trying to develop a react native project in my Windows 10 machine. I installed node js then expo cli via visual studio code terminal. Then I tried the command exp

6条回答
  •  再見小時候
    2021-01-03 12:40

    Step 1: You need to open your power shell or command line with ‘Run as Administrator’ by right-clicking on its icon.

    Step 2: You need to type in the following command:

    Set-ExecutionPolicy RemoteSigned

    refer

    Step 3: You will see the following message and permission request. Type ‘a’ and enter

    refer

    Solution 2:

    Try running the following command in PowerShell after running as administrator.

    Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy unrestricted

    Now go and tried installing and then running ‘Expo’

提交回复
热议问题