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 hope I understood the building process fine and that I make myself 
> understood ok too.)
>
> Thanks for help 

Reply via email to