Gulp EPERM:不允许使用MSBuild执行操作

Gulp EPERM:不允许使用MSBuild执行操作,msbuild,gulp,tfsbuild,Msbuild,Gulp,Tfsbuild,我正在尝试将构建服务器与角度构建集成。本地构建工作正常,但当我尝试在构建服务器上运行构建时,我遇到以下错误: RunGulp: Running gulp task dev gulp [08:35:38] Using gulpfile C:\Builds\10639\TCC.NET\1.Development CI\src\TCC.W eb.Client\gulpfile.js [08:35:38] Starting 'default'... [08:35:38] Starting

我正在尝试将构建服务器与角度构建集成。本地构建工作正常,但当我尝试在构建服务器上运行构建时,我遇到以下错误:

RunGulp:
Running gulp task dev
  gulp
  [08:35:38] Using gulpfile C:\Builds\10639\TCC.NET\1.Development CI\src\TCC.W
 eb.Client\gulpfile.js
 [08:35:38] Starting 'default'...
  [08:35:38] Starting 'build'...
  [08:35:38] Starting 'js'...
  stream.js:74
        throw er; // Unhandled stream error in pipe.
        ^

EXEC : error: EPERM: operation not permitted, open 'C:\Builds\10639\TCC.NET\1.
 Development CI\src\TCC.Web.Client\public\app.module.js' [C:\Builds\10639\TCC.N
ET\1.Development CI\src\TCC.Web.Client\TCC.Web.Client.csproj]
      at Error(native)
C:\Builds\10639\TCC.NET\1.Development CI\src\TCC.Web.Client\TCC.Web.Client.wpp
.targets(14, 5): error MSB3073: The command "gulp" exited with code 1. [C:\Build
s\10639\TCC.NET\1.Development CI\src\TCC.Web.Client\TCC.Web.Client.csproj]
我看过一些关于这个错误的帖子,它们主要围绕权限问题,但是公用文件夹和app.module.js文件具有正确的权限


我对gulp一点也不熟悉,因此正在寻找其他一些关于检查内容的想法。

我的问题是正在生成的文件上的只读标志


找到了解决方案

我的问题原来是正在生成的文件上的只读标志

找到了解决办法