> > *apt-get install python build-essential* > *mkdir /nodejs* > *cd /nodejs* > > *wget http://nodejs.org/dist/v0.10.15/node-v0.10.15.tar.gz > <http://nodejs.org/dist/v0.10.15/node-v0.10.15.tar.gz>* > > *tar xzvf node-v0.10.15.tar.gz* > > *cd node-v0.10.15* > > *./configure --without-snapshot* > *make* > *./node -e 'console.log("Testing . . .");'* > *make install* > *node -v* > *npm -v* >
This was compiled directly on the BBB using a NFS share for the rootfs. As we're compiling directly on the BBB, it may be wise to consider using an NFS share for your rootfs while doing so ( lots of writting to disk ). You should be able to compile using an sdcard, but do so at your own risk. I would definitely advise not doing so on the eMMC if you care about it. Another option would be to mount an NFS share at /home, then make absolutely sure you are compiling somewhere on that share. Information about how to achieve this is all over the web so I wont cover it( mounting /home from an NFS share that is ). An iSCSI or AoE mount would work fine too. On Tue, Jun 17, 2014 at 10:14 AM, Dave Nelson <[email protected]> wrote: > William, I would be interested in seeing that log. > > I couldn't get Express to work in the Cloud9 IDE with a recent BBB Debian > image. > > > On Wed, May 28, 2014 at 1:41 PM, William Hermans <[email protected]> > wrote: > >> Irelandathome, I have personally installed Node.js from scratch and have >> had it working. On Debian before it was technically "supported" As said >> above, Bonescript runs on top ( along side ? Jason would know the best ) of >> Node.js. >> >> There is only one hurdle when compiling from source. You need to tweak >> the build script to build for the given processor type. Also, it seems many >> of the javascript developers for Node.js modules are oblivious to the >> concept of multi ARCH software. So, it may be wise if you're going to >> experiment on your own, that you backup your file system between each >> module install. At least this was the easiest way for me to keep a pristine >> ( clean ) file system. >> >> All the major module like Express as far as I can tell seems to work fine >> though. I did have a problem with one of the older package managers >> initially while I was figuring things out. NPM worked fine last I looked >> though. Also, you may not be able to use the latest version, but personally >> I got very close( about a month back from latest ). >> >> I have a command line log of the steps I took to achieve this if it's of >> any interest. >> >> >> On Wed, May 28, 2014 at 10:20 AM, John Syn <[email protected]> wrote: >> >>> >>> From: <[email protected]> >>> Reply-To: <[email protected]> >>> Date: Wednesday, May 28, 2014 at 4:26 AM >>> To: <[email protected]> >>> Subject: [beagleboard] Using BeagleBone with JavaScript/Node.js >>> >>> Hi, >>> >>> I'm interested in looking at using BB with Node.js. If I come up with >>> some test ideas, is it likely that I could find a production version of a >>> board which would still allow me to use JavaScript or would I have to >>> rewrite my solution with C or some C variant? >>> >>> You can use Node.js on any board version. There are no restrictions. >>> >>> >>> thanks >>> >>> -- >>> 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/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]. >>> 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]. >> 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]. > 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]. For more options, visit https://groups.google.com/d/optout.
