Skip to content Skip to sidebar Skip to footer

Failed To List Gulp Tasks In WebStorm 2016.1

I am using Gulp 3.9.1, node 5.7.1, npm 3.10.3, and WebStorm 2016.1. When I try to setup gulp for my project, I get the following error: /usr/local/bin/node /Users/msbauer/Develope

Solution 1:

I ran into this same issue just now. I tracked it down to a part of our app creating a custom CLI using commander.js. I was able to tell commander to pass along the options needed. I will have to send a pull request over instead of hacking up the node_modules version.

project gulpfile.js:

var cli = require('custom-cli');

Project\node_modules\custom-cli\cli\index.js

var program = require('commander');

program.version(manifests.package.json.version);

//WebStorm needs to pass these options to gulp, so commander has to know about them
program.option('--no-color', 'Disable Colors');
program.option('--gulpfile', 'gulpfile');

Post a Comment for "Failed To List Gulp Tasks In WebStorm 2016.1"