Hit the little green leaf looking thingy on the bottom right before you run the js. That turns off the debugger. You can also just hit play on the debugger to get it going.
Sometimes in js it will error out the first time it runs. Just stop and run again and it should work unless u have a real software issue.
hi guys, this thread really helped me with some n00b issues.
future reference for others - deactivate debugging as illustrated above, or even simple files won’t run.
also, all files must be save with the .js extension don’t just type a filename and hit enter…add the .js. if your code is uncoloured, then the file isn’t recognised as a javascript file. you’ll also receive the Permission Denied error when attempting to run it
i was stumped for days with those issues…was writing code in nano via Putty terminal and it worked fine, couldn’t grok why Cloud9 was stalling