trying to use Cloud9 with BBB and get Error:

trying to use Cloud9 with BBB and get Error: Cannot find module ‘bonescript’ Any Idea whay may be causeing it?

Care to share your code? Are you using the stock Debian or Angstrom image? What does your NODE_PATH environment variable have in it?

Its the standard blinky one I am just trying to get started. I am using the standard Angstom. NODE_PATH ??? where is that?

var b = require(‘bonescript’);

var state = b.LOW;

b.pinMode(“USR0”, b.OUTPUT);
b.pinMode(“USR1”, b.OUTPUT);
b.pinMode(“USR2”, b.OUTPUT);
b.pinMode(“USR3”, b.OUTPUT);
setInterval(toggle, 1000);

function toggle() {
if(state == b.LOW) state = b.HIGH;
else state = b.LOW;
b.digitalWrite(“USR3”, state);
}

I used the link setup for cloud9 and with the way that setup runs I can’t put in the :3000.