You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, for testing purposes, I am looking to test against different versions of Node.js and different versions of NPM.
I was naturally wondering if NVM could handle this?
One thing I was thinking of, was installing all your desired NPM versions in some folder in user $HOME, and then just symlinking those versions to the global space.
I was looking at this SO question/answer:
https://stackoverflow.com/questions/9755841/how-can-i-change-the-version-of-npm-using-nvm
Basically, for testing purposes, I am looking to test against different versions of Node.js and different versions of NPM.
I was naturally wondering if NVM could handle this?
One thing I was thinking of, was installing all your desired NPM versions in some folder in user $HOME, and then just symlinking those versions to the global space.
Something like this:
using
npm link
wouldn't work very well, because that re-runs installation and install hooks. Butln -s
would work well, etc.The above bash script is not exactly right but just trying to get the idea across.
The text was updated successfully, but these errors were encountered: