Beginner Problem

Hi guys,

I just downloaded and ran a java code in Atom. But it says this “env: node: No such file or directory”. My file’s extension is “js”. What should I do to fix this? Thanks.

  1. Java and JavaScript are two, completely unrelated languages
  2. You need to install NodeJS if you want to be able to run JavaScript outside the web-browser

Thank you. I did that and it worked. But when I started my new project and tried to run it, ‘BABEL_PARSE_ERROR’ is happening. I can’t find a effective way to solve this. Do you know how to solve this problem? Or where can I find the solution? Thanks again.