- pnpm : 无法加载文件 D:\win11\program\NVM\nodejs\pnpm.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.mi
- crosoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。
- 所在位置 行:1 字符: 1
- + pnpm -v
- + ~~~~
- + CategoryInfo : SecurityError: (:) [],PSSecurityException
- + FullyQualifiedErrorId : UnauthorizedAccess
-
-
- set-executionpolicy : Windows PowerShell 已成功更新你的执行策略,但在更具体的作业域中定义的策略覆盖了该设置。由于发生覆
- 盖,你的外壳程序将保留其当前的有效执行策略 Restricted。请键入“Get-ExecutionPolicy -List”以查看你的执行策略设置。有关
- 详细信息,请参阅“Get-Help Set-ExecutionPolicy”。
- 所在位置 行:1 字符: 1
- + set-executionpolicy remotesigned
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : PermissionDenied: (:) [Set-ExecutionPolicy], SecurityException
- + FullyQualifiedErrorId : ExecutionPolicyOverride,Microsoft.PowerShell.Commands.SetExecutionPolicyCommand
- Scope ExecutionPolicy
- ----- ---------------
- MachinePolicy Undefined
- UserPolicy Undefined
- Process Undefined
- CurrentUser Restricted
- LocalMachine RemoteSigned
- Set-ExecutionPolicy RemoteSigned -Scope Process
- Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
- Set-ExecutionPolicy RemoteSigned -Scope LocalMachine