1

I have gulp installed in both locally and globally. I can run gulp in normal command line, however calling gulp is failed from Teamcity service (which is running under Windows's account Local System).

enter image description here

To reproduce, I am using psexe from PSTools (https://technet.microsoft.com/en-au/sysinternals/bb897553) to open cmd with local system account:

enter image description here

I can run npm

enter image description here

but get the error when executing gulp globally

enter image description here

NOTE:

i can execute the local gulp by going to the project folder and run node_modules\.bin\gulp.cmd -v

enter image description here

Any idea pls?

beewest
  • 3,068
  • 4
  • 20
  • 43

0 Answers0