# Running javascript on Vscode

**URL:** <https://forum.freecodecamp.org/t/running-javascript-on-vscode/349726>\
**Category:** General\
**Created:** [February 12, 2020, 8:47pm UTC](https://forum.freecodecamp.org/t/running-javascript-on-vscode/349726 "2020-02-12T20:47:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![poulmwangi](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/poulmwangi/32/130891_2.png) [@poulmwangi](https://forum.freecodecamp.org/u/poulmwangi)\
**Post date:** [February 12, 2020, 8:47pm UTC](https://forum.freecodecamp.org/t/running-javascript-on-vscode/349726/1 "2020-02-12T20:47:05Z")

</div>

hey guys so am trying to execute javascript on vscode and i get this error  
,what could be the problem? am just running some test  
[Running] node “c:\Users\HP\Desktop\simplehtmltemplate\cssProject\javascript.js”

‘node’ is not recognized as an internal or external command,

operable program or batch file.

NB i have the code runner extension installed already

---

<div class="post-metadata">

**Author:** ![camperextraordinaire](https://avatars.discourse-cdn.com/v4/letter/c/5f9b8f/32.png) [@camperextraordinaire](https://forum.freecodecamp.org/u/camperextraordinaire)\
**Post date:** [February 13, 2020, 12:53am UTC](https://forum.freecodecamp.org/t/running-javascript-on-vscode/349726/2 "2020-02-13T00:53:51Z")

</div>

Did you install Node and do did you set the C:\Program Files\nodejs\bin` directory in Window’s PATH environment variable?

---

<div class="post-metadata">

**Author:** ![poulmwangi](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/poulmwangi/32/130891_2.png) [@poulmwangi](https://forum.freecodecamp.org/u/poulmwangi)\
**Post date:** [February 13, 2020, 6:23am UTC](https://forum.freecodecamp.org/t/running-javascript-on-vscode/349726/3 "2020-02-13T06:23:26Z")

</div>

i just installed nodes.js let me see if it works

---

<div class="post-metadata">

**Author:** ![poulmwangi](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/poulmwangi/32/130891_2.png) [@poulmwangi](https://forum.freecodecamp.org/u/poulmwangi)\
**Post date:** [February 13, 2020, 6:25am UTC](https://forum.freecodecamp.org/t/running-javascript-on-vscode/349726/4 "2020-02-13T06:25:34Z")

</div>

great it works now , i was missing nodes

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 7:35pm UTC](https://forum.freecodecamp.org/t/running-javascript-on-vscode/349726/5 "2021-06-01T19:35:38Z")

</div>

Closed on June 1, 2021, 7:35pm UTC


