NodeJS

Comments & issues
Post Reply
mariusz7
Phidgetly
Posts: 17
Joined: Sun Nov 11, 2012 10:51 am
Contact:

NodeJS

Post by mariusz7 »

Patric promised NodeJS support this year. Great!
Patrick wrote:We are working on NodeJS / Javascript support. This will be out in the new year.

-Patrick
In the mean time, I tried to follow Evan Tahler instructions: https://gist.github.com/evantahler/1574158 and

Code: Select all

apt-get install nodejs
failed with message:
Package nodejs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'nodejs' has no installation candidate
Patric, we are anxiously waiting for the good stuff.
I can recommend excellent package: https://github.com/RIAEvangelist/node-phidget-API
It is very well documented and I made it running on Raspberry Pi since Phidget SBC can not run NodeJS so far.
User avatar
Patrick
Lead Developer
Posts: 634
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: NodeJS

Post by Patrick »

If you want to get Node.JS running on an SBC2/3 you would need to compile/cross-compile it yourself. Also, you would need to use the old 0.10 branch, as the newer branches require ARMv6 or newer, and the SBC3 only support ARMv5.

-Patrick
mariusz7
Phidgetly
Posts: 17
Joined: Sun Nov 11, 2012 10:51 am
Contact:

Re: NodeJS

Post by mariusz7 »

@patric
You promised JavaScript support to be implemented in 2017.
viewtopic.php?f=7&t=6407
from your post:
viewtopic.php?f=7&t=8076
it looks that it will not happen, It is pointless to have NodeJS ver 0.10 in year 2017.
It would be better for Phidgets future to have language independent support via http, RESTfull APIs and websockets.
User avatar
Patrick
Lead Developer
Posts: 634
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: NodeJS

Post by Patrick »

Lots of big things are coming out later this year. I can't give details just yet, and I can't promise timeline.

Node 0.10 is a limitation of the SBC3, and I agree that it's probably not the best idea to try running node on the SBC.

We will be releasing full node support, as well as full javascript support via a new phidgets server with websockets support.

-Patrick
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests