Home > Back-end >  Unable to use npm in VSCode
Unable to use npm in VSCode

Time:05-25

I have followed available tutorials and searched around for answers but cannot find them. I have just added the npm package via the extensions tab and restarted the computer. I cannot get npm to be recognized in the terminal:

PS E:\Web Apps> npm
npm : The term 'npm' is not recognized...

Does this have to do with the directory? If so, not sure where to change the directory to.

CodePudding user response:

To use npm on the terminal, you need to install nodejs. See this for window instruction.

CodePudding user response:

You must install NodeJS in your system to access npm. You can install it from https://nodejs.org/en/download/

  • Related