Re: NPM package recipe, npm not found


Quentin Schulz
 

Hi Talel,

On Wed, Oct 07, 2020 at 07:51:58AM -0700, Bel Hadj Salem Talel wrote:
Hi,

I'm trying to make a recipe for an NPM package.
The source files are local.
Here is my recipe:

LICENSE="CLOSED"
SRC_URI+="file://sense-web_${PV].zip"
S=${WORKDIR}
DEPENDS+="nodejs"
Just guessing but probably nodejs-native here?

Although, you might want to have a look at the npm.bbclass and try to
inherit it. Considering how complex the class looks like, it might be
easier to get started with the class and fix what needs to be fixed.

Quentin

Join yocto@lists.yoctoproject.org to automatically receive all group messages.