+ 18

How to make a environment for javascript in visual studio code editor

My editor says that "cannot find runtime'node' on PATH. Is 'node' istalled?

10th Jun 2020, 1:16 PM
NARESH KUMAR
NARESH KUMAR - avatar
13 Réponses
10th Jun 2020, 1:19 PM
Nilesh
Nilesh - avatar
+ 7
14th Jun 2020, 8:38 PM
NARESH KUMAR
NARESH KUMAR - avatar
+ 3
Edit <script> tag
11th Jun 2020, 10:26 AM
Sanjay Kamath
Sanjay Kamath - avatar
+ 1
1. Create an HTML file 2. Get the extension: https://marketplace.visualstudio.com/items?itemName=tht13.html-preview-vscode 3. Use the <script> tag for js code Note: Some methods and actions will be disabled for "security" Node isn't a requirement (so far)
11th Jun 2020, 12:19 PM
OverdrivedProgrammer
+ 1
vs code easy just name the file hello.js
11th Jun 2020, 1:28 PM
Cameron Anderson
Cameron Anderson - avatar
+ 1
Do you mean be able to run js in the vs terminal?
11th Jun 2020, 10:43 PM
Logomonic Learning
Logomonic Learning - avatar
+ 1
install node.js from their official website then install npm in the installation.
12th Jun 2020, 6:46 AM
Farhan Al Hamim
Farhan Al Hamim - avatar
+ 1
Can someone please teach me how to code I don't wanna be a loser
12th Jun 2020, 11:35 AM
Dahveed
Dahveed - avatar
0
Node ja has a packahe called virtual_env
11th Jun 2020, 9:52 AM
Mohammad Ansari
Mohammad Ansari - avatar
0
Download some js extension to write & format code perfectly. https://code.visualstudio.com/docs/languages/javascript
11th Jun 2020, 3:19 PM
Yogesh Pandey
Yogesh Pandey - avatar
0
You use js tag
11th Jun 2020, 9:38 PM
Diego Diaz Garcia
Diego Diaz Garcia - avatar
0
You'll need to install nodejs which comes with npm. After installing type node in the terminal. To run it In visual studio, press ctrl+j to open up it's terminal.
19th Jun 2020, 4:42 AM
Logomonic Learning
Logomonic Learning - avatar