Follow

It is great opening up a 6 month old project only to find the npm packages don't work because various projects make many breaking changes for arbitrary reasons. The worst are configuration file changes.

@dustin I used to have these headaches all the time, but I've found that lockfiles are pretty good at avoiding these kind of nuisances?

@nolan It does as long as the old packages are compatible with the installed node version. If not I might as well upgrade. I got it working after a fashion because thankfully it's a tiny project.

@dustin Ahhh yeah that is annoying. Especially for native packages, this kind of thing can get very complicated. I've noticed packages that may be compatible with only a particular version of Node – e.g. a slightly older or slightly newer version will cause the build script to break.

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!