- Cannot execute nodejs
Re: Cannot execute nodejs
toggle quoted messageShow quoted text
I was able to solve it by forcing recompiling nodejs with `bitbake -f -c compile nodejs`
Not sure what happened there
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 firstname.lastname@example.org to automatically receive all group messages.