Re: dist folder missing in npm build.

Jean-Marie Lemetayer

Hi Jose,

Seeing your other email in the list, it seems that you are trying to
build an angular or react application.

Right now the build of these applications is not handled by Yocto yet.

For an angular application you will need to pack the ng native tool
and call it to generate the dist directory.

For a react application you have to run the npm build script but the
output files will be in a build directory.

Best regards,

On Fri, Aug 28, 2020 at 11:54 AM Cardenas Jose Antonio (JCARDENA)
<joseantonio.cardenas@...> wrote:

Hi all,

i’m trying to reproduce an older recipe that was built with npm. It seems that the older recipe copied server files from a “dist” folder that now is missing.

I show the install part of the recipe:

do_install() {

install -d ${D}/usr/httpd/zigbee-ui

cp -r ${S}/dist/* ${D}/usr/httpd/zigbee-ui


Someone knows what happened with this folder?


Join to automatically receive all group messages.