【问题标题】:when i type command at windows terminal http-server当我在 Windows 终端 http-server 上键入命令时
【发布时间】:2020-07-23 07:06:26
【问题描述】:

当我在 windows 终端 http-server 输入命令时发生以下错误 错误 http服务器 http-server : 文件 C:\Users\RKanth\AppData\Roaming\npm\http-server.ps1 不能 加载,因为在此系统上禁用了正在运行的脚本。有关详细信息,请参阅
https://go.microsoft.com/fwlink/?LinkID=135170 上的 about_Execution_Policies。 在行:1 字符:1 + http服务器 + ~~~~~~~~~~~ + CategoryInfo : SecurityError: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess

【问题讨论】:

    标签: ide blockchain provider web3 remix


    【解决方案1】:
    1. 以管理员身份运行打开 PowerShell

    2. 运行以下命令:

      Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine

    3. 用‘Y’确认

    【讨论】:

      猜你喜欢
      • 2011-06-24
      • 1970-01-01
      • 1970-01-01
      • 2020-06-10
      • 2017-05-30
      • 2017-07-06
      • 1970-01-01
      • 2014-05-12
      • 1970-01-01
      相关资源
      最近更新 更多