<div dir="ltr"><div><div><div><div><div><div><div>I&#39;ve been using npm.bbclass with 
various node projects we&#39;re working on in the Connected Devices team at 
Mozilla, and had some questions/comments about behaviour (note that I&#39;m basing 
this off of ostro master, which I unfortunately have to use as no other 
Intel Edison bsp is adequate);<br><br></div>- Is there a good reason the
 npm fetcher only works with a registry? It seems it could get most 
(all?) pertinent information from a package.json in the root of a 
repository.<br><br></div>- Is there a reason to split the package like 
it does? Node projects tend to have huge dependency trees, it makes 
updating and distributing node-based applications a bit of a chore if 
they end up split into 20 packages, most of which have no use 
separately. It would be great if there was at least a way to disable this.<br><br></div>- The information about packaging non-registry software here: <a href="https://wiki.yoctoproject.org/wiki/TipsAndTricks/NPM" target="_blank">https://wiki.yoctoproject.org/<wbr>wiki/TipsAndTricks/NPM</a>
 is incomplete - you also need to generate a shrinkwrap and install that
 into the srcdir, or you&#39;re very likely to get failures doing dependency
 resolution. Not an OE issue, but I guess Yocto folks also read this 
list and it&#39;s related :)<br><br></div>- Any patches end up getting packaged because they get put in the srcdir. I&#39;m guessing this isn&#39;t intentional (or maybe it is?)<br><br></div>Just
 wanted to provide some feedback. It&#39;s fantastic that OE has the ability
 to package node software, and despite the teething difficulties, I&#39;ve 
appreciated its availability!<br><br></div>Cheers,<br><br></div>--Chris</div>