Gulp error in WebStorm: Failed to list gulp tasks

匿名 (未验证) 提交于 2019-12-03 00:34:01

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 taskclick 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

原文:https://www.cnblogs.com/echolife/p/9223713.html

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!