WarsawJS Talk

Hoisting, phantoms and doppelgängers - demystifying the spooky world of NPM node_modules and how to eradicate its darkness with PNPM

Presented at Meetup #128 Wed, Jul 9, 2025
Location Ramp Network, The Tides, Wioślarska 8, 00-411 Warszawa

About this Talk

Physicists say black holes are the heaviest things in the universe, but surely they've never seen a truly monstrous node_modules folder. In this talk, we'll venture into the eerie underworld of NPM node_modules, where scary forces like hoisting, phantoms, and doppelgängers can haunt your projects and keep you up at night. But don't worry - there's a way out! I'll show you how switching to package managers like PNPM can help banish these spooky beings. Plus, I'll share real-life learnings (and a few battle scars) from migrating a monorepo from NPM-like setup to PNPM - so you can make this journey without losing your sanity.

Karol Waszczuk

Karol Waszczuk

Senior Platform Engineer at Ramp Network

Currently a Senior Platform Engineer at Ramp Network, I spend my days (and nights) making sure our services are always up and running. I'm a self-proclaimed jack of all trades when it comes to infrastructure and operationalizing code, and I never hesitate to dive in when things get tricky. I love rolling up my sleeves and solving the problems others might shy away from. Outside of work, you'll most likely find me immersed in the world of tabletop RPGs - usually on the gamemaster's side of the table.

View Full Profile

Share this talk

← Back to Talk Archive