+ 7
Time To Code
Yes if you are using Visual Studio then you have to install Node JS even Code Runner also needs Node JS.
+ 5
Hi... Aaah maybe you have to install the Node Package Manager (NPM)... Then lets see... Actually im not so good in JS and nodes and these stuff.... So maybe u have to install npm... Lets see for AJ sirs reply!!!
+ 5
Hello A͢J - SÍoÍlÍoÍHÍeÍlÍpÍeÍrÍ sir i have a question.... Npm nodes is equal to node.js? Ryt?
+ 3
Anurag Saikia [Solohelper]
Not equal
NPM is a package manager for Node JS which is used to install different package for Node.
npm install package_name
This is a command to install package.
https://www.google.com/amp/s/www.freecodecamp.org/news/npm-cheat-sheet-most-common-commands-and-nvm/amp/
+ 2
Time To Code Yes , U need to install Node.js on your PC
+ 1
Time To Code
How to install node.js ?
--> https://youtu.be/x_2sYpk75Ic
This error itself mean that u haven't install node.js on your PC
+ 1
Go to node.js site and download it, if you dont know how watch some video.
I think npm (node package manager) is installed together with node, if I remember right.
0
With node.js you can run js outside of browser.
https://nodejs.org/en/
Default for js is to link it to html document and open in browser and check console.
Also In vscode you have extension "Code runner" with this installed you can run any code (from most programming language) inside terminal. If you use some dom selection in your js code, this wont work probably. Not sure does this extension need node.js