0

Info

  • I am using Visual Studio 2019.
  • The Microsoft guides for creating SPA's requires you to install NodeJS from the official website, at least the guides I have perused so far.
  • When I installed Visual Studio I selected NodeJS development.
  • Visual studio installed NodeJS here: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VisualStudio\NodeJs

Question
My goal is to use NodeJS for development and NOT interfere with the operation of Visual Studio AND to only have one version of NodeJS installed AND to avoid installing NVM.

  • Must I install NodeJS again or should I use the version installed by Visual Studio?

It also raises the following concerns, which I don't expect to get answered here, but it would be nice to know:

  • If I install it again, will conflicts occur between the two versions?
  • If conflicts occur, how do I resolve them?
  • If I use the one installed by Visual Studio, can I update it at will, or does Visual Studio require a specific version of NodeJS?

See also
Multiple versions of node on windows
Install different versions of NodeJS

GoWiser
  • 702
  • 3
  • 17

1 Answers1

0

You can check if NodeJS is installed or not using the node -v and check if npm package manager is installed using npm -v. If you find that NodeJS is not installed, then download the NodeJS from here.

Aditya Joshi
  • 857
  • 6
  • 17
  • This assumes that npm is in my path, which it will be, if I add visual studio's install of NodeJS to my path. If you read my question, you will see that NodeJS **is** installed. I am not asking how to check if it is installed. – GoWiser Aug 28 '21 at 05:22