Hi Rob,

I have serialPort installed and working with both node v0.8 and v0.10 on
two BBB.

On the first BBB, making v0.8 from source took a bit over half-an-hour, as
I recall. Below were my steps:


# apt-get install build-essential

Fetch and Build node.js


root@arm:~# wget
http://nodejs.org/dist/v0.8.22/node-v0.8.22.tar.gzroot@arm:~# tar xvf
node-v0.8.22.tar.gz
root@arm:~# cd node-v0.8.22
root@arm:~/node-v0.8.22# ./configure --without-snapshot
root@arm:~/node-v0.8.22# make

I had used the same steps to build node v0.10.x too. I ended up switching
back to 0.8 because BoneScript still needs 0.8 at the moment. npm install
serialport or npm install -g serialport works fine after that. I have
serialport 1.1.3 on this BBB.

On the second BBB, I have Robert's bone-debian-7.3-2014-01-10 test image
running. This test image already has node v0.10.24 preinstalled. npm
install serialport was smooth. I see that I have the latest serialport
v1.2.5 installed here.

George


On Wed, Jan 15, 2014 at 8:17 AM, <[email protected]> wrote:

> I am having issues with installing node-serialport because of its 0.10+
> dependency. I have attempted to compile node.js latest to the board but
> that is a very slow and painful process (first attempt ran for ~4 hours
> then power cut... I was not impressed)
>
> Anyone have this package successfully working with node 0.8 ??
>
> On Thursday, May 9, 2013 8:12:45 PM UTC-4, johnamon wrote:
>>
>> Apologies if this is a double post, my previous post hasn't seemed to
>> have appeared on the boards.....
>>
>> I have tried to install the node.js extension SerialPort via the command
>> "npm install serialport" but I receive the following error:
>>
>> "Error: Python executable "python" is v2.7.3, which is not supported by
>> gyp"
>>
>> Does anyone know how to fix this?  I've tried upgrading python, which
>> didn't work.
>>
>> Thank you
>>
>> 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.
>

-- 
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