📌  相关文章
📜  无法加载 expo 安装问题,因为在此系统上禁用了运行脚本.有关详细信息,请参阅 https:go.microsoft.com fwlink ?LinkID=135170 上的 about t_Execution_Policies. - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:01.608000             🧑  作者: Mango

代码示例1
#Run windows powershell/windows terminal, copy, paste and run this: 
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
#Then you can try to check expo
expo whoami
#The most probable is to receive a message about being not-logged user
#After finishing working with expo you can restore security settings with:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Restricted