Gulp is installed in the local git. ws has been indexing the project since it was opened. The computer is jammed. How to solve it? Scanning files to index …

  node.js, question


There are some problems in the scheme provided online. if the entire node_modules folder is excluded, the api of gulp in gulpfile.js cannot be found.
Methods like require, task, dest all failed.

Just exclude folders that you do not want to index. Find the folder you want to exclude, right-click and select Mark Directory As > Excluded
. Then restart it. I just found out what files have been introduced recently-Portal-

Node_modules generally need ignore, and can be recovered after changing the environment as long as npm install.