Unmet requirements: gulp exists

I am currently building TeamCity using the Gulp Runner and using the system-wide Gulp parameter.

Agents I Do Not Satisfy

Unmet Requirements: Gulp Exists

Where is he looking for gulp?

I tried npm install -g Gulp and installed Gulp globally, but I was not very lucky.

How do I meet the build requirement for gulp?

+5
source share
3 answers

I had the same problem. Try adding this line.

NODE_PATH=/usr/lib/node_modules/ 

to the end of buildAgent.properties . This shows the teamcity agent that you have gulp and all the necessary nodejs modules

+2
source

I had this exact problem and I just solved it by changing the account the build agent is working with. when you run the installer of the agent, you get the opportunity to use the system account or user account. I used the system account, but I installed node, npm and gulp under my user account so that the agent does not have access to it.

therefore, the quickest solution is to run the build agent installer again and finally select a user account to start the service in

0
source

I decided to add the npm user path to PATH, for example C: \ Users \ myUser \ AppData \ Roaming \ npm, and then restart the build agent.

In this folder you can see gulp files such as "gulp" and "gulp.cmd".

0
source

Source: https://habr.com/ru/post/1208709/


All Articles