Spent half a day trying to resurrect an old (as in: working fine, has not needed significant changes in the recent years) pet project using Node.js.

I was neither able to build the project with latest node, nor setting up an environment with the last working Node version (12) and install dependencies with that.

Currently trying to modernize the build toolchain, which is an even bigger time sink. Seriously considering adding node_modules to source control.

#node_modules #DependencyHell #NodeJS

🧠 Je node_modules map inchecken op git, wist je dat dat een slimme maatregel zou kunnen zijn?

@tvanderlippe, Architect en Adviseur API standaarden bij Logius, heeft een blog geschreven over deze controversiële maatregel. Het geeft je bijvoorbeeld inzicht in de changes bij een versie-bump van een npm-dependency.

https://developer.overheid.nl/blog/2025/09/16/overweeg-node-modules-in-te-checken

#npm #node_modules tech-debt

Overweeg om node_modules in git repositories te zetten | developer.overheid.nl

In de meeste projecten is dit de perceptie: node_modules worden door package managers geinstalleerd en zijn dus geen source code die in een git repository thuis hoort.

That annoying moment when you're copying your Projects folder to a new drive and it is going swimmingly fast...

...until the last 20 meg start stretching into 15 minutes as you realize you left *one* #node_modules folder behind. #nodejs #javascript

@progi1984 ou sinon une petite ExpReg :
`#node_modules/(?!bootstrap.*)#`
:-D

When it comes to backing up or moving files, the 'node_modules' folders are the bane of my existence! 😅

How do you deal with this? Do you just exclude these from your backup?

I like to have them backed up just in case. But for older projects I now manually compress them into a zip file and delete the folder.

#backup #node #node_modules

i switched from dropbox to mega and sync.com years ago, not really happy with the performance of either for backing up lots of files (#node_modules) and considering switching back now, is there a non-big tech alternative that works similarly? unfortunately not so open to self-host this

Orogene, https://orogene.dev/.

> Orogene is a next-generation package manager for tools that use node_modules/, such as bundlers, CLI tools, and Node.js-based applications. It's fast, robust, and meant to be easily integrated into your workflows such that you never have to worry about whether your node_modules/ is up to date.

It’s really faster than other tools, check the benchmarks, https://github.com/orogene/orogene/blob/main/BENCHMARKS.md.

#JavaScript #RustLang #npm #node_modules #PackageManager #performance

orogene

`node_modules/` package manager and utility toolkit.

Also: I lost most of yesterday because I forgot to delete #node_modules on the CI server......

Found the culprit. My other least favorite system: npm!.

We were accumulating hundreds of GBs a week in yarn caches. All stored in dockers overlayfs.

Not suprisingly #docker and #node_modules is a bad combination.

Guess I'll be wasting the rest of the week tuning docker, CI, and yarn.

Why did we do this again? 🤔

@razzlom
Удалил #node_modules, освободил 3Тб