Skip to main content
Hsn
Associate II
July 24, 2020
Question

Unable to add nodejs recipe in Distribution Package?

  • July 24, 2020
  • 1 reply
  • 1028 views

I am trying to add nodejs to the distribution. Nodejs recipe is alreaddy present in the layers but whn i bitbake the recipe there is a very long error, hence i am not able to build it. i have seen the recipe and the compatible machines are defined as

COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*"

COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*"

COMPATIBLE_MACHINE_mips64 = "(!.*mips64).*"

is this something related to this? how can i add the nodejs as well as npm in my yocto os?

This topic has been closed for replies.

1 reply

Olivier GALLIEN
Technical Moderator
July 27, 2020
Olivier GALLIEN In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Hsn
HsnAuthor
Associate II
July 28, 2020

Hi @Community member​ ,

I have put file://0001-nodejs-bump-to-10.16.2.patch \ into SCR_URI and preffered version

in the local.conf as you have described in the post but got this logs

NOTE: preferred version 10% of nodejs not available (for item nodejs)

NOTE: versions of nodejs available: 12.14.1

NOTE: Resolving any missing task queue dependencies

NOTE: preferred version 10% of nodejs-native not available (for item nodejs-native)

i am using dunfell branch. The layer described above of nodejs in the post is not available for dunfell branch so i have only nodejs recipe in meta oe