FS#79684 - [nodejs-lts-gallium] (EOL) NPM not compatible with Node.js 16

Attached to Project: Arch Linux
Opened by Eric Long (hack3ric) - Thursday, 14 September 2023, 01:36 GMT
Last edited by Robin Candau (Antiz) - Friday, 13 October 2023, 13:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jelle van der Waa (jelly)
Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Current NPM version (10.1.0) does not support Node.js 16 unless --force is specified. Is there any way to work around this, or can we simply remove npm from its optional dependency?
This task depends upon

Closed by  Robin Candau (Antiz)
Friday, 13 October 2023, 13:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  https://archlinux.org/todo/update-to-a-n ewer-nodejs-version-for-packages-dependi ng-on-nodejs-lts-gallium/
Comment by Eric Long (hack3ric) - Thursday, 14 September 2023, 01:41 GMT
Also from my perspective most packages requiring nodejs-lts-gallium to build will also build fine on Node.js 18 or 20. Since Node.js 16 is end-of-life as of September 11, maybe consider removing the package altogether?
Comment by Toolybird (Toolybird) - Thursday, 14 September 2023, 01:45 GMT Comment by Jelle van der Waa (jelly) - Thursday, 14 September 2023, 08:53 GMT Comment by loqs (loqs) - Thursday, 14 September 2023, 10:10 GMT
fluidd is not on the todo list?
grafana-zabbix currently does not build with nodejs newer than 16 unless you pass --ignore-engines to yarn install [1].
mattermost builds with nodejs-lts-hydrogen though it might be better to wait for a release containing [2].

[1] https://github.com/grafana/grafana-zabbix/issues/1674
[2] https://github.com/mattermost/mattermost/commit/8235b5bb44f67bed2855a81ecb57f61b2f597ffd
Comment by loqs (loqs) - Sunday, 01 October 2023, 14:26 GMT
Fixed for grafana-zabbix by [1]. The pull request has been merged but there is as of writing no release containing those commits.

[1] https://github.com/grafana/grafana-zabbix/pull/1692
Comment by Robin Candau (Antiz) - Friday, 13 October 2023, 13:44 GMT

Loading...