atom-script: node's command can't find

Unable to run
node
Is it on your path?
PATH: /usr/bin:/bin:/usr/sbin:/sbin
execvp(): No such file or directory

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Comments: 15 (3 by maintainers)

Most upvoted comments

Run atom from the command line, not from the launcher. It needs your $PATH, which comes form your shell. Alternatively, use the run options command and set the explicit path to node.

screen shot 2014-08-05 at 12 40 45 am

screen shot 2014-08-05 at 12 40 06 am

@huangjihua @Kimilhee Had the same problem- it’s because you did not have the babel package installed in node. I think the updated atom-script uses Babel for ES6 support.

Below is what i did:

npm install -g babel-cli