2020-07-24 08:20 AM
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?
2020-07-27 04:07 AM
Hi @Hsn
I guess this old post might help you :
https://community.st.com/s/question/0D50X0000B0xovGSQQ/installing-nodejs-on-the-stm32mp1
Olivier
2020-07-28 01:13 AM
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