← All guides

node_modules

1 guide tagged “node_modules”.

Developer3 juil. 20262 min read
Is it safe to delete node_modules? (and how to get the space back)
Yes, deleting node_modules is safe: it's fully reproducible from package.json and your lockfile. Here's when to delete it, how to find every stale copy on your Mac, and how to reclaim the space.