Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

[noob] installing nodejs in sublime text 3

  • 15-06-2014 10:06PM
    #1
    Registered Users, Registered Users 2 Posts: 185 ✭✭


    Hi all, I recently started teaching myself javascript. I have mostly been working in chrome's console and now need to work in my text editor. I have downloaded nodejs but I keep getting the following every time I try and run my script :
    [Errno 2] No such file or directory: 'node'
    [cmd: ['node', '/Applications/MAMP/htdocs/freeTest/script.js']]
    [dir: /Applications/MAMP/htdocs/freeTest]
    [path: /usr/bin:/bin:/usr/sbin:/sbin]
    [Finished]
    

    I think I am supposed to change the file but I'm not sure how to.
    I would greatly appreciate any help.

    ***I can't use stuff like jsfiddle as I am offline most of the time.

    Thanks


Comments

Advertisement