【问题标题】:npm won't recognize in gitlab-ci (working on a windows server runner)npm 在 gitlab-ci 中无法识别(在 windows 服务器运行器上工作)
【发布时间】:2018-02-19 17:00:18
【问题描述】:

我想在我的 Windows 服务器上做一个简单的 ci。 (Windows2012R) 我所有的工作脚本都是:npm install 我的管道输入是: 'npm' is not recognized as an internal or external command, operable program or batch file.

问题是,我知道这个输出是关于在我的环境变量中不包括节点... 使用 linux 服务器我没有这个问题,所以我猜这是考虑我使用 Windows 服务器的问题......

有人知道问题出在哪里吗?

【问题讨论】:

    标签: npm continuous-integration gitlab-ci windows-server gitlab-ci-runner


    【解决方案1】:

    找到解决方案,我在运行器进程启动后添加了节点的路径。我需要做的就是停止该过程并重新开始......

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-18
      • 1970-01-01
      • 2020-06-15
      • 1970-01-01
      相关资源
      最近更新 更多