Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
1,911 Views

NodeJS Updates

Has anyone heard when NodeJS on this platform is going to get somewhat up to date with NodeJS features. Right now the enforcement of Strict mode just heavily limits what npm packages can be used.

Thanks

6 Replies
Highlighted
Valued Contributor II
9 Views

Hi,

in my understanding the strict mode shows how many errors and potential future incomapibilities are in packages.

A good article about is there: https://msdn.microsoft.com/en-us/library/br230269 https://msdn.microsoft.com/en-us/library/br230269

Regarding NodeJS version it is not up to date in the official SD card images now.

But it is possible to use newer nodejs version in own SD card image:

BR,

xbolshe

0 Kudos
Highlighted
New Contributor I
9 Views

I am certain that, like most things about Galileo -- the limitation is there with good reason. I use shelljs, ftp, es6-promise and libxmljs in addition to the standard ones, like mraa. There isn't much space in the root filesystem, I think that needs to be addressed before trying to install a lot of heavy packages. I cannot even update the app daemon without resorting to manual procedures.

0 Kudos
Highlighted
Valued Contributor II
9 Views

A rootfs size limitation is not a problem for me. Now I use 1Gb rootfs. And it may be increased as needed up to file system's limits.

BTW, it is not a problem to connect HDD or SSD drive to Galileo and use it as rootfs.

BR,

xbolshe

Highlighted
New Contributor I
9 Views

I was considering taking the HDD/SSD route, as well. I installed Ubuntu on my laptop and am in the process of setting up the build environment for Galileo. The ftp module I got at npm was useful to connect Galileo to my terabyte drive on my router, too. I am still using node.js .0.10.35

Where did you obtain that Yocto version? Your system looks very modified compared to mine. Nice touch with the temperature, is that also from node.js?

0 Kudos
Highlighted
Valued Contributor II
9 Views

Hi,

I made it by myself based on Intel's BSP. No, it is from bash.

BR,

xbolshe

0 Kudos
Highlighted
New Contributor I
9 Views

That's what I figured -- I now have the Yocto build installed and working....now for the BSP. I haven't used bash much yet, but I have used Python and node scripts. I like the idea of the data collection happening in a separate process. I like your work alot, thanks for sharing.

0 Kudos