Last week I ran out of disk space mid-deploy. That annoying "Your startup disk is almost full" notification. I had a 512GB MacBook and somehow had less than 8GB free.

So I started digging. What I found surprised me.

The culprits

Here's the breakdown of what was eating my storage:

node_modules — 18GB