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

What should I do if webstorm always freezes?

王林
Release: 2021-01-28 11:52:26
forward
4749 people have browsed it

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>
Copy after login

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!

Related labels:
source:cnblogs.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template