tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: nodejs application packaging guidelines?



On Thu, Nov 12, 2015 at 07:29:42PM +0000, Jonathan Perkin wrote:
> * On 2015-11-12 at 18:23 GMT, Richard PALO wrote:
> 
> > Not being very familiar with nodejs, does there exist any pkgsrc
> > guidelines on how to deal with nodejs based packages using 'npm
> > install' and 'grunt'
> 
> Basically, don't.  The npm model is to have self-contained
> dependencies per application or per project, and it is very unusual to
> have system-wide dependencies as would be provided by pkgsrc.
> 
> We only need to provide nodejs itself, modules will be handled by the
> user.

I actually tried this once. And one of the modules it tried to build
didn't build on NetBSD. And I didn't even know how to find out which
it was, or how to provide it with a patch, or how to fix it manually.

Can someone please explain these parts in more detail?
 Thomas


Home | Main Index | Thread Index | Old Index