[Bug 261581] multimedia/navidrome: sh: react-scripts: not found

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 11 Feb 2022 09:45:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261581

--- Comment #1 from kaltheat@gmail.com ---
Hi,

I had a look at this port and it's not that simple to me. As far as I
understand, navidrome consists of (at least) two components (the core and the
UI). The core can be compiled using go-stuff (and it seemed to work for me with
an adapted Makefile for version 0.47.5). But I stuck with the UI, which is a
node-application. The problem there is that it should be build with npm, but
needs several node-packages for that. Normally, they will be downloaded by npm,
but in the FreeBSD ports system and with poudriere, npm seems not to have
access to internet. So the port-maintainer made a workaround: he put the needed
npm-packages in a seperate archive (npm-cache) that can be downloaded during
port building and put npm in offline mode. My problem is, that I don't
understand how to create this npm-cache-file. Can someone (preferable the
maintainer) provide a documentation for this approach?

Kind regards,
kaltheat

-- 
You are receiving this mail because:
You are the assignee for the bug.