Hi Jose, I have tested your npm-shrinkwrap.json file with this patch (https://patchwork.openembedded.org/patch/175755/) and it worked. Can you test it on your machine ?
Regards, Sandra Sandra Tobajas Consultant en logiciel libre | Montréal, Qc Savoir-Faire Linux Bureau: (+1) 514-276-5468 # 329 ----- Original Message ----- From: "joseantonio cardenas" <joseantonio.carde...@niko.eu> To: "Sandra Tobajas" <sandra.toba...@savoirfairelinux.com> Cc: "yocto" <yo...@yoctoproject.org> Sent: Friday, August 28, 2020 9:44:59 AM Subject: RE: [yocto] npmsw fetching error: package from npm-shrinkwrap is not downloaded so "Could not install from.../SONStream" as it does not contain a package.json file. Hi Sandra, thank you by your info. It was very useful to fetch development modules from shrinkwrap file. I attach you the shrinkwrap file with no dependencies that I were trying to fetch. Regards. Jose. -----Original Message----- From: Sandra Tobajas <sandra.toba...@savoirfairelinux.com> Sent: jueves, 27 de agosto de 2020 15:16 To: Cardenas Jose Antonio (JCARDENA) <joseantonio.carde...@niko.eu> Cc: yo...@yoctoproject.org Subject: Re: [yocto] npmsw fetching error: package from npm-shrinkwrap is not downloaded so "Could not install from.../SONStream" as it does not contain a package.json file. 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, It seems that all your dependencies are development dependencies tagged with "dev":true in the npm-shrinkwrap.json file. If all dependencies are for development purpose and if you want to install the package as a development package, you can add: npmsw://${THISDIR}/${PN}/npm-shrinkwrap.json;dev=true It seems that "npmsw.py" fetching code fails if you are trying to install a npm package with a npm-shrinkwrap.json file with no dependencies (as reported by Jean-Marie and Randy). I am currently preparing a patch to solve the problem reported here: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13901. If not, maybe you could send the full npm-shrinkwrap.json file to reproduce exactly the problem. Regards, Sandra Sandra Tobajas Consultant en logiciel libre | Montréal, Qc Savoir-Faire Linux Bureau: (+1) 514-276-5468 # 329
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50404): https://lists.yoctoproject.org/g/yocto/message/50404 Mute This Topic: https://lists.yoctoproject.org/mt/76335911/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-