How can I run an old version of Node.js while still using NPM?
I've just read this Q and Q and now understand that Node.js and NPM are separate pieces of software.
I'm working on an old project which requires Node.js between versions 8 and 12. As far as I can tell, NPM gets installed automatically with Node.js with newer versions, but when I grab an older version, I get warnings about NPM not working with that version.
This is the console output I get:
ERROR: npm is known not to run on Node.js v11.15.0
You'll need to upgrade to a newer Node.js version in order to use this
version of npm. You can find the latest version at https://nodejs.org/
Is that because NPM has to look at/work with some online repository which cannot support older versions of NPM? Is there some work-around I can use to make an older version of Node.js still work with NPM?