[beagleboard] Problems Running Script in Cloud9 - Error: Cannot find module './bone'

Hi, Im brand new to the BeagleBone, just got it in yesterday.

All was well on first boot.

I did a git pull from cloud 9 and now when I try to run a script I get the
following error:

Error: Cannot find module './bone'
at Function._resolveFilename (module.js:337:11)
at Function._load (module.js:279:25)
at Module.require (module.js:359:17)
at require (module.js:375:17)
at Object.<anonymous>
(/var/lib/cloud9/node_modules/bonescript/eeprom.js:25:8)
at Module._compile (module.js:446:26)
at Object..js (module.js:464:10)
at Module.load (module.js:353:31)
at Function._load (module.js:311:12)

as I said- brand new to beaglebone, also Langstrom. Fairly comfortable with
linux in server environment however.

i also did opkg update and install before pulling in cloud 9, but am unsure
of whether it was working after that.

any ideas?

I've been fairly aggressive pushing updates to the 'master' branch the
last couple of weeks as I want to show a good amount of functionality
at OSCON this week.

The bone.js file is sitting right there next to eeprom.js under the
/var/lib/cloud9/node_modules/bonescript directory. Do you not see it
there for you? What does your 'git status' and 'git log | head -3'
look like?

Hey Jason, due to the fact that I had just got the unit and had been fiddling around… I went ahead and just re-imaged the sd card.

Haven’t run into this problem since then.

=PK