Community
cancel
Showing results for 
Search instead for 
Did you mean: 
LSaet
Novice
1,397 Views

Nodejs upgrade for Intel Edison

Jump to solution

I'm struggling trying to find a clean way to upgrade nodejs on Edison.

Using the shipped version 0.10 mqtt has problems. It stops working after ten minutes.

I have seen that the problem goes away with a newer version (0.12) but mraa was no more working.

The process of upgrading Node seems to me complicated and makes diffcult to use Node on this board.

Does anyano can point me to the right docs to upgrade in sync node, mraa and upm starting from the latest distribution (iot kit vers. 3)?

thanks


Accepted Solutions
LSaet
Novice
72 Views

Ok.

I have found a way to upgrade to Node 4.2 and to have a working environment with MRAA and UPM.

The complete process has taken more than 5 hours, not really an easy path.

I have documented the entire process in:

http://lsaetta.blogspot.it/2016/04/set-up-nodejs-environment-on-intel.html http://lsaetta.blogspot.it/2016/04/set-up-nodejs-environment-on-intel.html

Sooner, we should find a better and easier way.

View solution in original post

3 Replies
LSaet
Novice
72 Views

Further info.

With more work, I managed to have examples using mraa workin. But upm is not working.

It tries to find libmraa.so.0, but it is not in /usr/lib. There you find: ibmraa.so.1

With Node, it seems though to have a relieable environment (on Edison)

idata
Community Manager
72 Views

Hello LSaetta,

 

 

As you mentioned, mraa and upm are not compatible with the later versions of Node.JS. There are methods to make mraa work with newer versions of node, however they don't work at 100%. So, my best suggestion is that you submit an issue to the mraa and upm developers in https://github.com/intel-iot-devkit/mraa https://github.com/intel-iot-devkit/mraa or https://github.com/intel-iot-devkit/upm https://github.com/intel-iot-devkit/upm

 

 

Peter.
LSaet
Novice
73 Views

Ok.

I have found a way to upgrade to Node 4.2 and to have a working environment with MRAA and UPM.

The complete process has taken more than 5 hours, not really an easy path.

I have documented the entire process in:

http://lsaetta.blogspot.it/2016/04/set-up-nodejs-environment-on-intel.html http://lsaetta.blogspot.it/2016/04/set-up-nodejs-environment-on-intel.html

Sooner, we should find a better and easier way.

View solution in original post