I'm using mongoose to connect to a mongo database.
I'd like to understand why node_modules/mongoose
goes over 1gb... And when I check what's inside, I get 3 huge folders (31000, 31001, 31002) with what seems to be logs, even with a fresh reinstall..
$ rm -Rf node_modules/mongoose
$ npm i mongoose
$ ls -al node_modules/mongoose/tools/31000/journal
total 614400
drwxr-xr-x 5 florian staff 170 May 28 08:48 .
drwxr-xr-x 27 florian staff 918 May 28 08:48 ..
-rw-r--r-- 1 florian staff 104857600 May 24 21:27 WiredTigerLog.0000000001
-rw-r--r-- 1 florian staff 104857600 May 24 08:06 WiredTigerPreplog.0000000001
-rw-r--r-- 1 florian staff 104857600 May 24 08:06 WiredTigerPreplog.0000000002
What is it ? How do I get rid of it ?
via Florian F.
No comments:
Post a Comment