On Sat, 12 Aug 2017 19:00:05 -0700 (PDT), Mala Dies
<functt@gmail.com> declaimed the following:
Hello,
As many of us already know, I am working with the TMP36 and failing harder
than ever for some reason on my BBB. I just noticed my error code for the
software. It is stating that the BBB cannot find the 'bonescript' language
that I am invoking.
Cut & paste the exact error message (along with the command line being
used to invoke the program).
Bonescript is not a "language" per se, so much as an import
library/module for node.js which activates access to the BBB hardware. It
corresponds to the Python BBIO (various over the years) library.
Seth
P.S. How can I put the 'bonescript' language in my PATH so when I run the
.js file, 'bonescript' is "noticed" and can be used? I am working directly
in the /home/debian directory. Send guidance or assistance, i.e. either/or.
If the bonescript module is not being found by node.js, that is one
thing, and changing your normal PATH variable probably won't help -- PATH
tells the OS where to look for executable programs; where those programs
look for import libraries is a different matter. If node.js is not being
found, then your PATH is likely really trashed, since it should be in one
of the standard directories (/bin, /usr/bin, etc.)
root@ELUSIVEUNICORN:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
(the above is from Windows 10 "BASH on Ubuntu on Windows" add-in, Debian
should be similar)
Seeing the exact error message would help identify the type of problem
you have.
Unfortunately I can't help with node.js -- the whole way of programming
in it just doesn't fit my mindset. A problem with Python would be more in
my realm.