码迷,mamicode.com
首页 > Web开发 > 详细

Gulp error in WebStorm: Failed to list gulp tasks

时间:2018-06-25 15:17:45      阅读:1246      评论:0      收藏:0      [点我收藏+]

标签:pat   reg   with   oba   error   file   run   block   bst   

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

标签:pat   reg   with   oba   error   file   run   block   bst   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!