I cannot get nodejs latest version - imx6ulevk

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

I cannot get nodejs latest version - imx6ulevk

1,686 次查看
gbassi1
Contributor II

Hello,

The repo approved by nxp in the Yocto manual documentation is not the latest one (master branch), but th rocko one. Why is this?

In OpenEmbedded Layer Index:

Checking rocko or master branch, it is only available version 7.10.0 for meta-nodejs (OpenEmbedded Layer Index - meta-nodejs )

In OpenEmbedded  Recipes Index:

  • For rocko: v8.4.0
  • For master branch: v10.15.3

Also, in recipes, there is no npm package and I need that too.

So, my questions are:

  1. Why the latest branch suggested by i.MX_Yocto_Project_User's_Guide is not the latest one? It repo sync brings rocko.
  2. Should I repo sync the master? How do I do that?
  3. How can I get latest npm as well? (v6.x.x) The layer meta-nodejs includes nodejs-npm as a package but it is not in the latest version.

Thanks

标签 (4)
0 项奖励
回复
1 回复

1,425 次查看
b36401
NXP Employee
NXP Employee

You may add a layer to an image by adding following line to the conf/local.conf file inside the build directory, and then baking the image.
IMAGE_INSTALL_append = “ nodejs”

Whenever you want to see which packages are available on the BSP you can run:
bitbake -s

0 项奖励
回复