【问题标题】:live-server : The term 'live-server' is not recognized as the name of a cmdlet, function, script file, or operable programlive-server:术语“live-server”未被识别为 cmdlet、函数、脚本文件或可运行程序的名称
【发布时间】:2021-10-09 03:32:43
【问题描述】:

live-server : 术语“live-server”未被识别为 cmdlet、函数、脚本文件或 可运行的程序。检查名称的拼写,或者如果包含路径,请验证路径是否正确 然后再试一次。 在 line:1 char:1

  • 实时服务器
  •   + CategoryInfo          : ObjectNotFound: (live-server:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    
    

已经安装了节点js

PS C:\Javascript\complete-javascript-course-master\13-Advanced-DOM-Bankist\starter> 节点 -v v16.1.0

【问题讨论】:

    标签: javascript node.js npm-live-server


    【解决方案1】:

    如果您刚刚安装它,很可能它还不会在您的 PATH 中。您需要重新启动终端才能更新 PATH 变量。

    【讨论】:

      猜你喜欢
      • 2021-11-01
      • 2021-05-23
      • 2020-11-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多