maybe a goable (is this a word?) way is, to use a node version manager like nvm, so you can provide same npm version as your old project.
Take a look to your package.json. Here you should see all installed packages with version numbers. See npm doc what ^ ~ etc. is meaning.
If you have your complete project folder, then it should work with out greater hassle. if packages are missing a npm i install it.
Globally installed packages can make problems. You can try to install it local without -g. Be careful at this point, because installing older packages globally can kill all other projects, that won’t work with this old packages.
To be save you can do all in a new virtual machine, than you can install packages that needs installed global as they needs. And best: You can repeat it, repeat it, rep…
Best regards, anna-liebt