Getting older projects to run was a huge pain for me when I started working with JavaScript, but I have found two easy steps to get around this:
Use nvm + an .nvmrc file in your project to pin the major version of Node.js you are using. I recently got a five year old Node 8 project up and running with no issues using this method.
Try to avoid packages that has binary dependencies (like node-sass). 99% of binary issues are fixed when using the correct Node version, the only other problem that can occur is if you switch architecture (eg. x86 => ARM).
Getting older projects to run was a huge pain for me when I started working with JavaScript, but I have found two easy steps to get around this: