# VS Code with Code Runner Not Working

**URL:** <https://forum.freecodecamp.org/t/vs-code-with-code-runner-not-working/405978>\
**Category:** General\
**Created:** [June 19, 2020, 8:50pm UTC](https://forum.freecodecamp.org/t/vs-code-with-code-runner-not-working/405978 "2020-06-19T20:50:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mallquimarco](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/mallquimarco/32/154515_2.png) [@mallquimarco](https://forum.freecodecamp.org/u/mallquimarco)\
**Post date:** [June 19, 2020, 8:50pm UTC](https://forum.freecodecamp.org/t/vs-code-with-code-runner-not-working/405978/1 "2020-06-19T20:50:40Z")

</div>

Hi everyone! I have an issue with VSC since today. Until yesterday I was coding in PY and running the code without any problem. But today I decided to run a JS code and I noticed that I did not have the RUN button. So, I downloaded the Code Runner in VSC and problems started. Now I can not run either PY nor JS. I get this message in js:

```auto
[Running] node "c:\Users\marco\Desktop\edteam\practica.js"
"node" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.  
(translation would be: "node" is not recognized as an intern or extern command, program or file por executable lots.

```

and in case of py the same statement (but word node switch with python)

```auto
[Running] python -u "c:\Users\marco\Desktop\edteam\main.py"
"python" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.

```

So, it seems like code runner bothered my vsc or sort of.  
If anybody could help me with this please. I have to practice with PY but I need to practice with JS, as well. I would not want to uninstall Code Runner from VSC.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Sky020](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/sky020/32/128093_2.png) [@Sky020](https://forum.freecodecamp.org/u/Sky020)\
**Post date:** [June 19, 2020, 9:52pm UTC](https://forum.freecodecamp.org/t/vs-code-with-code-runner-not-working/405978/2 "2020-06-19T21:52:20Z")

</div>

Hello there,

I have moved your post into a new topic.

I cannot explain why Python is not being run, but the first error sounds like 1 of 2 issues:

1. You do not have Nodejs installed on your computer.
2. You do not have Nodejs on your path variables list: [https://helpdeskgeek.com/windows-10/add-windows-path-environment-variable/](https://helpdeskgeek.com/windows-10/add-windows-path-environment-variable/)

- Similarly, you may need to alter the configuration file of this Code Runner to know where to find Node and Python.

Hope this helps

---

<div class="post-metadata">

**Author:** ![mallquimarco](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/mallquimarco/32/154515_2.png) [@mallquimarco](https://forum.freecodecamp.org/u/mallquimarco)\
**Post date:** [June 19, 2020, 10:16pm UTC](https://forum.freecodecamp.org/t/vs-code-with-code-runner-not-working/405978/3 "2020-06-19T22:16:48Z")

</div>

As you said, I could understand that js don´t run even with Code Run installed because something else is missing (as the node.js for instance); but why python is bothered if until some hours ago it was running properly? 🤔 I have uninstalled code run, I don´t want to bother mi first python training and get stuck.  
Pd. I have seen the node.js you say to install in the VSC marketplace but there are several of them, namely: node.js, node.js extension pack; vs code for node.js; node.js repl, and so on. Which of those is te correcto one?

 ![node](https://global.discourse-cdn.com/freecodecamp/original/3X/8/7/87cc26ca2481c5a6cabe5abed557feccb845c28c.jpeg)

---

<div class="post-metadata">

**Author:** ![Sky020](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/sky020/32/128093_2.png) [@Sky020](https://forum.freecodecamp.org/u/Sky020)\
**Post date:** [June 19, 2020, 10:20pm UTC](https://forum.freecodecamp.org/t/vs-code-with-code-runner-not-working/405978/4 "2020-06-19T22:20:21Z")

</div>

Oh, no. Nodejs is not a part of VS Code.

You should download the latest stable release from here: [https://nodejs.org/en/](https://nodejs.org/en/)

You know how you type: `python myScript.py` to run a python file…  
Well, it is the same thing for JavaScript only: `node myScript.js`

Hope this clarifies.

---

<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, 6:49pm UTC](https://forum.freecodecamp.org/t/vs-code-with-code-runner-not-working/405978/5 "2021-06-01T18:49:39Z")

</div>

Closed on June 1, 2021, 6:49pm UTC


