Community
cancel
Showing results for 
Search instead for 
Did you mean: 
MCara4
New Contributor III
1,929 Views

Using UPM jsupm_i2clcd module on nodejs 0.12.7

Jump to solution

Hi,

I need to use node 0.12.x to run some 3rd party software that require this version of node.

I installed node 0.12.7 from the AlexT repo, and I was able to have mraa working (using its 0.8.0 version). I didn't find a workaround to have a working version of UPM jsupm_i2clcd module that I use to drive the LCD display.

Can you please help me?

Thanks

-max

Tags (1)
1 Solution
103 Views

Hi,

Intel Galileo, Edison and Minnowboard MAX images are built with Node 0.10.36 and so are MRAA & UPM. However, you can build both libraries from source with a different (newer) version of Node. Version 0.12.7 was tested and builds correctly with no issues. For Node 5, you might have to make small modifications to the sources based on your compiler version due to C11 options. See this open issue here regarding Node 5 builds: https://github.com/intel-iot-devkit/upm/issues/318 sx1276 and adxrs610 modules: compilation problem · Issue # 318 · intel-iot-devkit/upm · GitHub.

Tudor

View solution in original post

5 Replies
Pedro_M_Intel
Employee
103 Views

Hello massca,

I have updated my NodeJS version to the same as you and I was able to replicate you issue and I can confirm that it does not appear on the standard version installed on Edison. So my best suggestion is that you either use the previous version of NodeJS or contact the script's author, he may have a better answer for you. I don't really know why this issue appears on the updated version of NodeJS, so I'm sorry I can't give a better answer.

Peter.

MCara4
New Contributor III
103 Views

Hi Intel_Peter,

I opened issue # 325 on upm github (https://github.com/intel-iot-devkit/upm/issues/325 jsupm_i2clcd npm module doesn't work on node.js nodejs 0.12.7 on Intel Edison · Issue # 325 · intel-iot-devkit/upm · GitH…).

Pedro_M_Intel
Employee
103 Views

Thank you for letting us know, if you have any updates on this, please post it on the community, it might help other users that have the same or a similar issue.

Peter.

104 Views

Hi,

Intel Galileo, Edison and Minnowboard MAX images are built with Node 0.10.36 and so are MRAA & UPM. However, you can build both libraries from source with a different (newer) version of Node. Version 0.12.7 was tested and builds correctly with no issues. For Node 5, you might have to make small modifications to the sources based on your compiler version due to C11 options. See this open issue here regarding Node 5 builds: https://github.com/intel-iot-devkit/upm/issues/318 sx1276 and adxrs610 modules: compilation problem · Issue # 318 · intel-iot-devkit/upm · GitHub.

Tudor

View solution in original post

MCara4
New Contributor III
103 Views

Hi propanu,

thanks for your answer, I'll try it after Christmas Holidays.

-max

Reply