Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider compatibility with npm-node23 #23

Open
grahamperrin opened this issue Dec 15, 2024 · 2 comments
Open

Consider compatibility with npm-node23 #23

grahamperrin opened this issue Dec 15, 2024 · 2 comments

Comments

@grahamperrin
Copy link
Contributor

Without looking at things in detail, I guess that quarterly packages for npm-node23 will appear soon in the first quarter of 2025.

Related (draft):

Rationale for the step up from 20

Installation of npm-node23 requires removal of npm-node20.

Log (FreeBSD 15.0-CURRENT)
% pkg search --repository FreeBSD-ports npm-node | sort
npm-node18-10.9.0              Node package manager
npm-node20-10.9.0              Node package manager
npm-node22-10.9.0              Node package manager
npm-node23-10.9.0              Node package manager
% su -
Password:
root@mowa219-gjp4-zbook-freebsd:~ # pkg install --no-repo-update --dry-run npm-node23
The following 3 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        node23: 23.3.0 [FreeBSD-ports]
        npm-node23: 10.9.0 [FreeBSD-ports]

Installed packages to be REINSTALLED:
        libssh-0.11.1 [local-poudriere]

Number of packages to be installed: 2
Number of packages to be reinstalled: 1

The process will require 76 MiB more space.
16 MiB to be downloaded.
root@mowa219-gjp4-zbook-freebsd:~ # pkg install --yes --quiet --fetch-only npm-node23
The provides database is up-to-date.
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
root@mowa219-gjp4-zbook-freebsd:~ # pkg install --no-repo-update npm-node23
Checking integrity... done (2 conflicting)
  - npm-node23-10.9.0 [FreeBSD-ports] conflicts with npm-node20-10.9.0 [installed] on /usr/local/bin/node-gyp
  - node23-23.3.0 [FreeBSD-ports] conflicts with node20-20.18.1 [installed] on /usr/local/bin/corepack
Checking integrity... done (0 conflicting)
The following 6 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
        node20: 20.18.1
        npm-node20: 10.9.0

New packages to be INSTALLED:
        node23: 23.3.0 [FreeBSD-ports]
        npm-node23: 10.9.0 [FreeBSD-ports]

Installed packages to be REINSTALLED:
        libnsutils-0.1.1 [FreeBSD-ports]
        lua53-5.3.6_1 [FreeBSD-ports]

Number of packages to be removed: 2
Number of packages to be installed: 2
Number of packages to be reinstalled: 2

The process will require 18 MiB more space.

Proceed with this action? [y/N]: y
[1/6] Deinstalling node20-20.18.1...
[1/6] Deleting files for node20-20.18.1: 100%
[2/6] Deinstalling npm-node20-10.9.0...
[2/6] Deleting files for npm-node20-10.9.0: 100%
[3/6] Installing node23-23.3.0...
[3/6] Extracting node23-23.3.0: 100%
[4/6] Reinstalling libnsutils-0.1.1...
[4/6] Extracting libnsutils-0.1.1: 100%
[5/6] Installing npm-node23-10.9.0...
[5/6] Extracting npm-node23-10.9.0: 100%
[6/6] Reinstalling lua53-5.3.6_1...
[6/6] Extracting lua53-5.3.6_1: 100%
=====
Message from node23-23.3.0:

--
Note: If you need npm (Node Package Manager), please install www/npm.
root@mowa219-gjp4-zbook-freebsd:~ # 
@SrWither
Copy link
Owner

The ideal would be to use node-22 since it is the stable and lts version of node, as soon as electron32 is out quatertly i will compile discordbsd with it. In turn, I will check on freebsd 15 how it works

@grahamperrin
Copy link
Contributor Author

Thanks for educating me about version 22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants