Re: npm install, ports and poudriere

From: Tomoaki AOKI <>
Date: Fri, 13 Jan 2023 09:14:13 UTC
On Fri, 13 Jan 2023 11:30:09 +0900
Hiroo Ono (小野寛生) <> wrote:

> Hello,
> I made a port of MongoDB Compass .
> As it is an electron app, I need to use "npm install" to build it.
> npm install does not work without network connection, while poudriere
> allow network connection only at fetch time.
> As a result, I need to do bunch of things in fetch mode, and the
> Makefile became as attached. Is this acceptable as a port?
> If not, I need to rework the Makefile to do npm install at build time,
> but that makes the port not officially buildable I think. (though to
> each of us, there is ALLOW_NETWORKING_PACKAGES option in
> poudriere.conf)

Can editors/vscode be any hint? It's electron app, too.

I'm not at all familiar with electron nor Node.js, but is there any
cache mechanism for npm that can store required files into before
install (at `make fetch` phase)? Does below be of any help?

Tomoaki AOKI    <>