PhpStorm Npm and Gulp tool windows are missing in some projects

For all projects, I have gulpfile.jsat the root of the project (also bower.json, package.jsonand node_modules). In PhpStorm Settings> Languages & Frameworks> Node.js and NPMI can see all (local and global) packages.

However, in some projects PhpStorm shows tool windows npmand Gulp... and in other projects this is not so.

Has anyone else encountered this problem? The only ( consistent ) difference between projects that have these tool windows and those that don’t do this is projects for which PhpStorm does not show these tool windows. using version control (either svn or git). I have no idea why this is happening: |

+4
source share
1 answer

I decided...

So, having opened gulpfile.js, I right-clicked on the file name tab (also works in the file on the “Project” tab) and saw what I have in the right-click menu "Show Gulp Tasks". Clicked on it, and appeared Gulp Tool Window... The same for npm(right-click menu package.json). And then these two instruments also appeared in the window menu View -> Tool Windows.

It is still strange that in any project that uses version control, they still do not exist. It must be a mistake ... But at least it solved my problem.

+28
source

Source: https://habr.com/ru/post/1614736/


All Articles