Bug 269959

Summary: devel/fnm: cannot install node
Product: Ports & Packages Reporter: Alexey Vyskubov <alexey>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: New ---    
Severity: Affects Many People Flags: bugzilla: maintainer-feedback? (yuri)
Priority: ---    
Version: Latest   
Hardware: amd64   
OS: Any   
URL: https://github.com/Schniz/fnm/issues/1012

Description Alexey Vyskubov 2023-03-04 12:29:24 UTC
```
❯ doas pkg install fnm
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
eldanna in ~
❯ fnm install --latest
Installing Node v19.7.0 (x64)
error: Can't download the requested binary: v19.7.0 for x64 not found upstream.
You can `fnm ls-remote` to see available versions or try a different `--arch`.
eldanna in ~
❯ fnm install --lts
Installing Node v18.14.2 (x64)
error: Can't download the requested binary: v18.14.2 for x64 not found upstream.
You can `fnm ls-remote` to see available versions or try a different `--arch`.
eldanna in ~
❯ fnm ls-remote | egrep '19.7.0|18.14.2'
v18.14.2 (Hydrogen)
v19.7.0
❯ fnm --version
fnm 1.33.1
❯ freebsd-version
13.1-RELEASE-p7
```
Comment 1 Alexey Vyskubov 2023-07-19 16:24:51 UTC
Any hope for this?
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2023-07-19 18:35:35 UTC
(In reply to Alexey Vyskubov from comment #1)

Hi Alexey,


It is possible that fnm is not functional on FreeBSD because they don't maitain binaries for FreeBSD. Also it isn't clear if their binary downloads are secure, i.e. do they check cryptographic fingerprints.

Now when I look again it isn't even clear why it is needed, because node can be installed with 'pkg install node{16,18,20}'.

Let's see what does the upstream say.



Yuri