Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Gulp task is not using gulp-cli but gulp #3890
The task should be using the node module
This is the old way of invoking gulp, and does not work with newer versions of gulp.
The default configuration of the gulp runner can be found here: https://github.com/Microsoft/vsts-tasks/blob/c932e92b4db984e06dcec9d6537bd9ca2a0de72c/Tasks/Gulp/task.json#L78-L84
It would be okay to use the locally install gulp as a default, or have a flag to make this the priority. But there should be no global gulp module.