Re: [yocto] Pre-installing node.js packages

2019-07-16 Thread Alexander Stein
If you want to avoid writing those recipes yourself, you can use devtool. See https://wiki.yoctoproject.org/wiki/TipsAndTricks/NPM I'm not sure how a proper workflow should be done, to keep the extracted sources out of the meta, but it is a starting point. Alexander On Tuesday, July 16, 2019, 5

Re: [yocto] Pre-installing node.js packages

2019-07-16 Thread Jean-marie Lemetayer
Hi, You can check this link: https://wiki.yoctoproject.org/wiki/TipsAndTricks/NPM I have recently added some fixes concerning npm. But I still have some issues using devtool: e.g the lockdown.json generation using the npm lockdown module is erroneous. I have no time for now, but I have planned t

Re: [yocto] Pre-installing node.js packages

2019-07-16 Thread Burton, Ross
The proper way would be to write a recipe for each package you wish to add. Ross On Tue, 16 Jul 2019 at 16:04, Andy Pont wrote: > > Hello, > > Is there a way to add node.js packages into a build? I’m trying to > avoid having to include npm and compiler into my target image. > > -Andy. > > -- >