Atom-runner javascript path error-Win-10


#1

I have atom runner installed but when I try to run a JS code it gives me an error:
Unable to find command: nodejs
Are you sure PATH is configured correctly?

ENV PATH: C:\Program Files (x86)\Intel\TXE Components\TCS;C:\Program Files\Intel\TXE Components\TCS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Skype\Phone**;C:\Program Files\nodejs**;C:\Program Files\nodejs

Error: spawn nodejs ENOENT
at exports._errnoException (util.js:1022:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:359:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)

I have node installed and I even added the nodejs folder to the environment variables in Windows systems. I have windows 10. Can someone please help me?

thank you,


#2

I am the wrong person to answer you… sorry.

Knowing the answer to the following question might advance your topic:

  1. Open the command prompt or Powershell in Windows.
  2. Type: node -v Enter
  3. What happens?

Or…
Check version of NODE in command prompt

Additional thought ->
Limited but functional, the console in Atom Ctrl+Shift+i can handle Javascript.


#3

Hello,
No worries all help is appreciated… to answer your question, when I check the node-v in cmd I get version 6.11.2. And yes I know that console in atom works but as you say it is limited.

Thanks,


#4

I got it to work.


#5

Good!!
Anything you would care to share?