->One can add a layer to an image by adding the following line to the conf/local.conf file inside the build directory: IMAGE_INSTALL_append = “ nodejs”
Thank you for the response. Doing what you suggest installs Nodejs 10. Although, I want to install 18. I tried migrating poky/master but doing that gives an error.