Adding nodejs into core-image-minimal

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Adding nodejs into core-image-minimal

706 Views
krsuresh
Contributor III
Hi,
 
I have added nodejs package to core-image-minimal but still receive command not found error. Can you please let me know if I am missing anything?
 
* Download nodejs and nodejs-contrib
 
* Updated bblayer for meta-nodejs
  BBLAYERS += "${BSPDIR}/sources/meta-nodejs"
  BBLAYERS += "${BSPDIR}/sources/meta-nodejs-contrib"
* Added package details in conf/local.conf as well
IMAGE_INSTALL += "nodejs nodejs-npm"
 
Error Observation:
# node -v
-sh: node: command not found
# npm -v
-sh: npm: command not found
 
Thanks,
SureshKumar R
0 Kudos
Reply
0 Replies