简体   繁体   中英

VSTS fails when it gets to my gulp task when run against my local agent

So I went through all the steps outlined in the documentation in order to setup a local build agent for VSTS. VSTS sees and even runs my 'npm install' build step without failures. However, when it tries to run the gulp step that will run against my Gulpfile.js it fails with the following error message: "Not found node: null"

If gulp cannot find node then how did the npm install command, which runs a postinstall of 'npm install typings gulp jspm -g' work?

Very strange stuff, right?

this is VSTS with a git repo.

Try to install them without -g argument. On the other hand, you may update/install latest version of NodeJS.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM