> > it's an extra step before updating the *.deb package, requires a dedicated > bbg for pre-building the *.tar.xz, but my sanity has never been better! ;)
So, I can tell you have not recently done anything like sudo npm install -g phantomjs . . . where phantomjs only has x86 / x86-64( maybe amd64 ) binaries. I have, and then spent 3 days trial and error compiling phantomjs on my rpi3 ( more memory, and more cores . . .), when i finally got it compiled, and installed locally. . . the flipping package that needed phantomjs *still* barfed on installation . . . as the other crap needed arm binaries too, and no way in hell I was going ot step into that huge pit. It turns out that I only needed that package anyhow for a development dependency for some stupid other package that I do not need when deployed. . . . So I can write the code on an x86 machine, and just rip the needed source out for deployment onto the BBB . . . So your sanity is different form mine in that you seem to have learned to just bypass the whole npm situation, where as a Nodejs developer - I can't. Trust me though, I really wish I could, and it is partly why I'm writing my own Javascript wrapper for the BBB's sysfs access to the peripherals. On Thu, May 26, 2016 at 12:09 PM, Robert Nelson <[email protected]> wrote: > > > On Thu, May 26, 2016 at 2:01 PM, William Hermans <[email protected]> > wrote: > >> *but it would be cooler to build the functionality into bone101, then >>> user can edit it live thru nodejs and have it reboot with those changes.. >>> ;)* >>> >> >> You know you're certifiable right ? hehe, but you're also right, and I >> just happen to know it is possible. So what exactly *is* bone101 ? Just the >> web stuff, or does it include bonescript ? >> > > so bone101 is the default web page.. > > repo: > > https://github.com/beagleboard/bone101 > > live testing: > > https://beagleboard.github.io/bone101/Support/bone101/ > > > >> >> I ask because I do not personally use bonescript, but am instead writing >> my own code that does what bonescript does( maybe more ). But is also much >> simpler in nature. Currently, I'm also try to attempt to do all this >> without including a bunch of NPM packages to reduce code bloat, and to help >> keep things understandable. So others can read through the code and >> instantly understand what is happening. As a bonus side effect, I'm hoping >> this means that in order to enable one thing, like say GPIO, or ADC, that >> the developer just need drop in a single file such as gpio.js, or adc.js, >> then just require that file. >> >> Like you, I really dislike npm, but I suspect for maybe different reasons >> . . . code bloat, and application function clarity are two of my own main >> concerns. >> > > > npm and i get along now. ;) > > I've given up on "npm install xyz" in a deb package and now just pre-build > them: > > https://github.com/rcn-ee/npm-package-bonescript > > https://github.com/rcn-ee/npm-package-wificonfig > > it's an extra step before updating the *.deb package, requires a dedicated > bbg for pre-building the *.tar.xz, but my sanity has never been better! ;) > > Regards, > > -- > Robert Nelson > https://rcn-ee.com/ > > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/CAOCHtYgQTuD7iE2J3fVnBMV4nw7gmqDGQbhdOiyzGp085nRXEA%40mail.gmail.com > <https://groups.google.com/d/msgid/beagleboard/CAOCHtYgQTuD7iE2J3fVnBMV4nw7gmqDGQbhdOiyzGp085nRXEA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORrXM7vyiGkVCATmH5JPq-znMUfQhUCo%2BM3otK8%3DdqWYaw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
