Home >Development Tools >webstorm >What should I do if webstorm always freezes?

What should I do if webstorm always freezes?

王林
王林forward
2021-01-28 11:52:264748browse

What should I do if webstorm always freezes?

Foreword:

When we use webstorm, we sometimes encounter stuck problems, so how do we solve this problem?

(Learning video sharing: Introduction to Programming)

Method 1:

First clear the node-modules directory, including hidden files, in the external terminal, and then Open Webstorm, open the Project Structure page, select the project, select the node_modules directory (if not, create an empty directory first), then click Mark as Excluded above, save and then install the module.

Method 2:

Compare and modify the file .idea/{project name}.iml

<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
  <component name="NewModuleRootManager">
    <content url="file://$MODULE_DIR$">
      <excludeFolder url="file://$MODULE_DIR$/node_modules" />
      <excludeFolder url="file://$MODULE_DIR$/test" />
    </content>
    <orderEntry type="inheritedJdk" />
    <orderEntry type="sourceFolder" forTests="false" />
    <orderEntry type="library" name="test node_modules" level="project" />
  </component>
</module>

Small pit:

What should I do if webstorm always freezes?

If appears, it will still be loaded and stuck and should be deleted.

Related recommendations: webstorm usage tutorial

The above is the detailed content of What should I do if webstorm always freezes?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:cnblogs.com. If there is any infringement, please contact admin@php.cn delete