出现“因为在此系统上禁止运行脚本”问题
PS F:\shopify\theme\hello3> shopify theme dev --store 11d4dc-95
shopify : 无法加载文件 C:\Users\Administrator\AppData\Roaming\npm\shopify.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwl
ink/?LinkID=135170 中的 about_Execution_Policies。
所在位置 行:1 字符: 1
+ shopify theme dev --store 11d4dc-95
+ ~~~~~~~
+ CategoryInfo : SecurityError: (:) [],PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
运行以下命令
PS F:\shopify\theme\hello3> get-ExecutionPolicy
Restricted
PS F:\shopify\theme\hello3> set-ExecutionPolicy RemoteSigned
PS F:\shopify\theme\hello3> get-ExecutionPolicy
RemoteSigned