TFS - Error using browserify

0

Hello,

I have a project in which I am using TypeScript but instead of using the VisualStudio compiler, I created a task in the Gulp that with the help of browserify compiles the .ts files

My problem is that my machine works fine but when I try to use Team Foundation's continuous integration (CI) and after doing npm install , when it arrives at browserify it gives the following error:

C:\Program Files\nodejs\node.exe 
C:\TFS\_work\s\FAMO.CODE\node_modules\gulp\bin\gulp.js browserify --gulpfile C:\TFS\_work\s\FAMO.CODE\gulpfile.js
Using gulpfile C:\TFS\_work\s\FAMO.CODE\gulpfile.js
Starting 'browserify'...

events.js:183
  throw er; // Unhandled 'error' event
  ^
TypeScript error: scripts/src/management/meeting/details.ts(12,16): Error 
TS2339: Property 'print' does not exist on type 'Window'.
Gulp failed with error: C:\Program Files\nodejs\node.exe failed with return code: 1

What's the difference?

    
asked by anonymous 28.03.2018 / 23:33

0 answers