1. 程式人生 > >Gulp error in WebStorm: Failed to list gulp tasks

Gulp error in WebStorm: Failed to list gulp tasks

ble mov AS solution AI ebs with sam set

I have the same problem with webstorm after install a updated version of node. The solution for me is the following:

In the block Gulp where webstorm show the list of task, click the cog icon and select gulp settings, in the section "Gulp package" add the path to the local gulp package(the gulp inside the node_modules in your project).

Example of path: yourproject\node_modules\gulp

Another way that would probably solve the problem is to remove the node_modules folder and run npm install again. You must have your dependencies registered in the package.json file

Gulp error in WebStorm: Failed to list gulp tasks