Hi Jean-Marie, thank you for the info. Do you know how we could do this extra build step? We are not sure about how to do it.
Regards. Jose Obtener Outlook para Android<https://aka.ms/ghei36> ________________________________ From: Jean-Marie Lemetayer <[email protected]> Sent: Friday, August 28, 2020 2:22:32 PM To: Cardenas Jose Antonio (JCARDENA) <[email protected]> Cc: [email protected] <[email protected]> Subject: Re: [yocto] dist folder missing in npm build. CAUTION: This email originated from outside the organization. Do not click on links or open attachments unless you recognize the sender and know the content is safe. 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, Jean-Marie On Fri, Aug 28, 2020 at 11:54 AM Cardenas Jose Antonio (JCARDENA) <[email protected]> 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? > > > > Regards > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50403): https://lists.yoctoproject.org/g/yocto/message/50403 Mute This Topic: https://lists.yoctoproject.org/mt/76470414/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
