Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

I use node -v but did not get the real version

As you can see, I have two different versions of node.js, what can I do when book node -v in cmd I get the real version is v17.2.0

enter image description here

screenshot from cmd

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You have multiple installations of node, check your PATH.

path

Also I’d recommend using NVS to manage node versions on your machine.

nvs add 14
nvs add 17

nvs use 14
nvs use 17
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading