Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#75779 - [zigbee2mqtt] Depends on nodejs >=14

Attached to Project: Community Packages
Opened by Sjur Karevoll (Berengal) - Saturday, 03 September 2022, 04:42 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 04 October 2022, 06:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

zigbee2mqtt depends on nodejs >= 14. I found out my nodejs was provided by the lts V12 release of nodejs when zigbee2mqtt refused to start after an update.
Replacing the lts package with the up to date nodejs package solved the problem.

The nodejs dependency in the zigbee2mqtt package should have a version dependency on 14+

Additional info:
Tested with package version 1.27.2-1

Excerpt from journalctl: "Zigbee2MQTT requires node version ^14 || ^16 || ^18, you are running v12.22.12!"

Steps to reproduce:
Install an old lts release of nodejs that provides the nodejs dependency for this package. Observe the zigbee2mqtt service crashing on start.
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 04 October 2022, 06:43 GMT
Reason for closing:  No response
Comment by Jeremy M. (jskier) - Saturday, 03 September 2022, 13:45 GMT
I was able to replicate this on aarch64. Once the latest version of nodejs was updated, the service runs fine.
Comment by Toolybird (Toolybird) - Sunday, 04 September 2022, 00:45 GMT
I'm not seeing a nodejs version < 14 in the official Arch repos. What am I missing?

Loading...