Le lundi 24 mai 2021 19:52:01 CEST, vous avez écrit :
> Stephane Guedon writes:
> > Hello
> > 
> > I am beginning to write a peertube port, just as a way to better
> > manage my instance. I don't know if it will succeed.
> > 
> > PeerTube uses nodejs and requires having the node binary in /tmp to
> > build its modules. Is there a way to deal with that or should I
> > write a "pre-build" target to copy/link node in the chroot phase ?
> 
> Is this yarn that is getting the node bin in /tmp? If so does the yarn
> from ports fix it?
> 
> The issue (likely) is that node expects to be able to determine it's
> exec path arbitrarily via `process.execPath`.
> 
> If you aren't using yarn, perhaps give it a shot (from pkg_add yarn).

I learned only recently of the yarn package. I have no idea if it was 
the actual problem. I did install yarn via npm. Later, when launching it 
in the node repository, it complained if node was not in /tmp.




Reply via email to