On 8/28/24 11:34, e82803 via lists.yoctoproject.org wrote:
receipe do_compile_prepend() function is as follows:

SRC_URI += "https://nodejs.org/dist/v14.20.1/node-v14.20.1-linux-x64.tar.xz;name=nodejs;subdir=nodejs";
SRC_URI[nodejs.md5sum] = "6616e5d1380813f96a8ece5d5606eca4"

Is there a reason for grabbing your own node binary instead of inheriting the npm[0] class? During compiling network is disabled by default, but the npm class can be used to fetch all the required dependencies (like yarn) in the do_fetch step, where network is enabled.

[0]: https://docs.yoctoproject.org/4.0.20/ref-manual/classes.html#npm
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63759): https://lists.yoctoproject.org/g/yocto/message/63759
Mute This Topic: https://lists.yoctoproject.org/mt/108140502/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to