Cannot execute nodejs


Alessandro Tagliapietra
 

Hi everyone,

I've installed nodejs and node-red  by using meta-oe and meta-iot-cloud, with

IMAGE_INSTALL_append = " nodejs node-red bash"

it was initially working but then I've got some pseudo aborts that fixed automatically and then I saw that:
 - /usr/bin/node doesn't have the +x flag
 - the file is 1.1G big (however the image is 200MB)
 - trying to run it says "cannot execute binary file: Exec format error"

any idea why?

Target is core-image-minimal with machine qemuarm.
I've checked the source of the file with `oe-pkgdata-util find-path` it came from the nodejs recipe. I've also tried bitbake -c clean nodejs and nothing changed

Join yocto@lists.yoctoproject.org to automatically receive all group messages.