FS#76267 - [zigbee2mqtt] version 1.28.0 does not work with nodejs >= 19
Attached to Project:
Community Packages
Opened by Paul Mulders (justinkb) - Saturday, 22 October 2022, 16:40 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 23 November 2022, 20:35 GMT
Opened by Paul Mulders (justinkb) - Saturday, 22 October 2022, 16:40 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 23 November 2022, 20:35 GMT
|
Details
It seems like nodejs 19 got put into the tree a bit hastily.
it would have been better to wait until nodejs-lts-hydrogen
was able to be packaged. I suppose there will be other
packages broken now because 19 isn't fully backwards
compatible with 18.
|
This task depends upon
Closed by Toolybird (Toolybird)
Wednesday, 23 November 2022, 20:35 GMT
Reason for closing: Fixed
Additional comments about closing: zigbee2mqtt 1.28.1-1
Wednesday, 23 November 2022, 20:35 GMT
Reason for closing: Fixed
Additional comments about closing: zigbee2mqtt 1.28.1-1
Oct 22 17:24:50 lambda node[112011]: Zigbee2MQTT requires node version ^14 || ^16 || ^18, you are running v19.0.0!
Oct 22 17:24:58 lambda node[112011]: Zigbee2MQTT:info 2022-10-22 17:24:58: Logging to console and directory: '/var/lib/zigbee2mqtt/log/2022-10-22.17-24-58' filename: log.txt
Oct 22 17:24:58 lambda node[112011]: Zigbee2MQTT:info 2022-10-22 17:24:58: Starting Zigbee2MQTT version 1.28.0 (commit #unknown)
Oct 22 17:24:58 lambda node[112011]: Zigbee2MQTT:info 2022-10-22 17:24:58: Starting zigbee-herdsman (0.14.62)
Oct 22 17:24:58 lambda node[112011]: Zigbee2MQTT:error 2022-10-22 17:24:58: Error while starting zigbee-herdsman
Oct 22 17:24:58 lambda node[112011]: Zigbee2MQTT:error 2022-10-22 17:24:58: Failed to start zigbee
Oct 22 17:24:58 lambda node[112011]: Zigbee2MQTT:error 2022-10-22 17:24:58: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Oct 22 17:24:58 lambda node[112011]: Zigbee2MQTT:error 2022-10-22 17:24:58: Exiting...
Oct 22 17:24:58 lambda node[112011]: Zigbee2MQTT:error 2022-10-22 17:24:58: Error: /usr/share/webapps/zigbee2mqtt/node_modules/@serialport/bindings/build/Release/bindings.node: undefined symbol: _ZN2v88internal20CanHaveInternalFieldEi
Oct 22 17:24:58 lambda node[112011]: at Object.Module._extensions..node (node:internal/modules/cjs/loader:1243:18)
Oct 22 17:24:58 lambda node[112011]: at Module.load (node:internal/modules/cjs/loader:1037:32)
Oct 22 17:24:58 lambda node[112011]: at Function.Module._load (node:internal/modules/cjs/loader:878:12)
Oct 22 17:24:58 lambda node[112011]: at Module.require (node:internal/modules/cjs/loader:1061:19)
Oct 22 17:24:58 lambda node[112011]: at require (node:internal/modules/cjs/helpers:103:18)
Oct 22 17:24:58 lambda node[112011]: at bindings (/usr/share/webapps/zigbee2mqtt/node_modules/bindings/bindings.js:112:48)
Oct 22 17:24:58 lambda node[112011]: at Object.<anonymous> (/usr/share/webapps/zigbee2mqtt/node_modules/@serialport/bindings/lib/linux.js:2:36)
Oct 22 17:24:58 lambda node[112011]: at Module._compile (node:internal/modules/cjs/loader:1159:14)
Oct 22 17:24:58 lambda node[112011]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
Oct 22 17:24:58 lambda node[112011]: at Module.load (node:internal/modules/cjs/loader:1037:32)
Oct 22 17:24:58 lambda systemd[1]: zigbee2mqtt.service: Main process exited, code=exited, status=1/FAILURE
Oct 22 17:24:58 lambda systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
Oct 22 17:24:58 lambda systemd[1]: zigbee2mqtt.service: Consumed 10.410s CPU time.
Node 19 is just not supported. The error message at the top is pretty straightforward: "Zigbee2MQTT requires node version ^14 || ^16 || ^18, you are running v19.0.0!"