How to install lts version of NPM #658
-
Hi, I would like to use the LTS version of both, but using the LTS version of the node the NPM version is not the latest long-term supported. So I want to install that separately. I was not able to install the LTS version of NPM using
Any suggestion on this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It looks like you may be unintentionally using an older version of Node. Remember to run |
Beta Was this translation helpful? Give feedback.
It looks like you may be unintentionally using an older version of Node. Remember to run
nvm use x.x.x
wherex.x.x
is the version you want to use. See #300 (comment), which covers the exact error message you're seeing.