Folder reading became slow after using "npm install"

0

After installing some modules through the npm install command, opening a folder in the Finder or in an IDE (Atom or Sublime) has become very painful and time-consuming.

It seems that the problem may be related to the size of the folder, but when comparing with other folders this does not make sense, because even opening other folders with a huge amount of applications does not occur the same.

Below is the upload image, which takes well over 40 seconds to "check", but only for a specific folder after using npm install

[!] [insert image description here] [1]] [1]

    
asked by anonymous 23.01.2016 / 12:52

1 answer

0

Workaround: Modify folder permissions so that you can read without user authentication on OSx. This is done as described in the image below in which the problem folder information window appears.

One solution I did was suggested by Guilherme Lima in the comments below, but I also added general reading permissions. They did not exist. After this procedure, the reading of the folder was almost immediate. See the image below with details on the staff and everyone:

    
05.02.2016 / 17:40