【问题标题】:Error: EPERM: operation not permitted, open "C"错误:EPERM:不允许操作,打开“C”
【发布时间】:2016-01-25 17:49:22
【问题描述】:

运行构建定义时出现以下错误。

我试图通过右键单击 Builds 目录来授予读/写权限,但在使用构建定义运行构建后,权限会被重置。

文件是通过从post script bat 文件调用“gulp”命令创建的。 如何摆脱这个错误?

【问题讨论】:

  • 对 gulp 命令不太熟悉。您需要在脚本中还是在构建代理中运行npm install

标签: batch-file tfs build-definition


【解决方案1】:

我想知道这是否与 npm 安装问题有关。详情请参考npm install fails on Windows with "EPERM, operation not permitted"

这里也有类似的问题Visual Studio 2015 hybrid app - getting "EPERM, operation not permitted"

【讨论】:

    猜你喜欢
    • 2018-06-07
    • 2022-08-16
    • 2021-08-18
    • 2022-07-18
    • 2022-11-08
    • 2016-01-29
    • 1970-01-01
    • 2021-01-14
    • 2021-11-18
    相关资源
    最近更新 更多