Can you try the following: 

node -v
npm -v
npm install -g bonescript 

then try the script again and let us know what happens?


On Sunday, 8 February 2015 22:46:06 UTC-4, gabe....@gmail.com wrote:
>
>
> Hi All,
>
> I am having some problems running bonescript without cloud IDE 9. The 
> weird thing is when I run the javascript file that requires bonescript 
> while SSH'd as root it works perfectly, the problem is when I VNC into the 
> beaglebone and try to run the exact same script.
>
> Here is some information that may help:
>
> OS: Debian 7.8 (Wheezy)
> Board version: Beaglebone black rev. B6 (as printed on the underside of 
> the board)
>
> Kernel: 3.8.13-bone50
>
>
>
> When I try to run the javascript file that requires bonescript while VNC'd 
> I get the following output:
>
> module.js:340
>     throw err;
>           ^
> Error: Cannot find module 'bonescript'
>     at Function.Module._resolveFilename (module.js:338:15)
>     at Function.Module._load (module.js:280:25)
>     at Module.require (module.js:364:17)
>     at require (module.js:380:17)
>     at Object.<anonymous> (/home/debian/testBBB.js:1:71)
>     at Module._compile (module.js:456:26)
>     at Object.Module._extensions..js (module.js:474:10)
>     at Module.load (module.js:356:32)
>     at Function.Module._load (module.js:312:12)
>     at Function.Module.runMain (module.js:497:10)
>
> I am trying to run bonescript without using cloudIDE9 since I do not have 
> internet connectivity where the BBB will be installed.
>
> I really appreciate any help. Please let me know if something I said above 
> is unclear.
>
> -Gabe
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to