Gulp error in WebStorm: Failed to list gulp tasks
Posted echolife
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Gulp error in WebStorm: Failed to list gulp tasks相关的知识,希望对你有一定的参考价值。
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 ode_modulesgulp
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的主要内容,如果未能解决你的问题,请参考以下文章