If one wishes to upgrade from Node 0.10.48 all the way to the latest LTS version (8.11.2 as of right now) would it be smart to upgrade only to version 0.12.18 first, and then to 4.9.1 and so on?

The idea being that every Node upgrade will imply breaking changes and it might be easier to deal with smaller bites of issues than one huge truckload of them.

Let's assume over 60 npm packages are dependencies.

  • A note for future readers: I followed @amon's advice, and getting the app to simply build on 8.11.2 was a real pain, so I tried making it work on 0.12.18, and it was still nothing but failures over failures, until it finally worked. And then, once it worked on 0.12.18, getting it to work on 8.11.2 was a breeze. And indeed, the time I spent trying to get it running on 8.11.2 was not wasted. Jun 19, 2018 at 17:18

1 Answer 1


Doing incremental updates is definitively more work, but it spreads out the risk of the change. It is easier to solve a few problems at a time, than all problems at once.

I would first try a big-bang upgrade of everything at once. Maybe you're in luck, and only a few details have to be fixed! But there's a good chance it will be more than that.

So time-box that experiment. If it takes longer than expected, start over and go the incremental route. Note that the time you spent on the big-bang approach will not be entirely wasted, as you will re-encounter the same problems (but now you have a better idea on how to solve them).

In the future, you can avoid this technical debt by trying to stay on top of updates. This doesn't mean you have update everything immediately when there's a new version. But you should be in a situation where you can update everything within a day or so if a security patch is released.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.