Hello,

I have been stepping through my javascript code that does not work and I 
end up in the file: bonescript.js, and more specifically in this function:

function require(file) {
    throw 'Please perform setTargetAddress on a valid target';
}

This happens when I try to call:
var b = require('bonescript');

To try to solve the problem I stepped through some examples and noticed I 
that code brought me to a completely different "bonescript.js" file.
Turns out there are three:

/usr/share/bone101/static/bonescript.js
/usr/share/beaglebone-getting-started/Docs/bonescript.js
/usr/lib/node_modules/bonescript/bonescript.js

Can someone shed some light on this?

Thanks,
John



-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to