If you tried running the npm command in the Visual Studio Code terminal and are getting an error saying that it doesn’t exist then you need to install NODE.JS

This is one of the error messages you will see:

npm: The term ‘npm’ is not recognized as a name of a cmdlet, function, script file, or executable program, check the spelling of the name, or if a path was included, verify that the path is correct and try again.

The Simple Entrepreneur INSTALLING NODE.JS IN VISUAL STUDIO CODE application error message

The steps involved for installing NODE.JS is easy to follow if you use the below steps:

  1. Download the Windows NODE.JS executable from here: https://nodejs.org/en/download/current
The Simple Entrepreneur INSTALLING NODE.JS IN VISUAL STUDIO CODE download

Once you download the file, make sure the Visual Studio Code application is not running and then install the executable

The Simple Entrepreneur INSTALLING NODE.JS IN VISUAL STUDIO CODE install

Once the installation is complete, make sure Visual Studio Code is not running and if it is, then you will need to close it down and start the program again. Open the terminal and then type:

npm -V

You will then see the version of NODE.JS that was install. In my case it is version is 10.5.0

The Simple Entrepreneur INSTALLING NODE.JS IN VISUAL STUDIO CODE application error message 1

You can then run npm commands.

Here’s a video you can follow along on how to install npm NODE.JS in Visual Studio Code:

Subscribe to my newsletter where I will share my journey in affiliate marketing, business, technology, fitness and life in general. Hopefully, this motivates you to also change your journey in life.

This field is required.

Subscribe to my newsletter where I will share my journey in affiliate marketing, business, technology, fitness and life in general. Hopefully, this motivates you to also change your journey in life.

This field is required.

If this article helped you in any way and you want to show your appreciation, I am more than happy to receive donations through PayPal. This will help me maintain and improve this website so I can help more people out there. Thank you for your help.

HELP OTHERS AND SHARE THIS ARTICLE


1Shares

LEAVE A COMMENT