Bonjour,
Je viens d’acheter une clef SonOff ZBDongle-E, et j’ai quelques difficulté pour son installation. Le plugin MQTT Manager semble OK, mais le démon de JeeZigbee ne se lance pas.
Informations Jeedom
Jeedom Smart Debian 10.4
Core : 4.4.8.1 (V4-stable)
DNS Jeedom : oui
Plugin : JeeZigbee
Version : 2024-04-24 01:01:56 (stable)
Statut Démon : Stoppé - (2024-07-03 12:50:03)
Pour MQTT Manager :
Log du plugin mqtt2_packages :
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_mqtt2
+ echo 1
+ echo 2
+ sudo killall apt apt-get unattended-upgr
apt: no process found
apt-get: no process found
unattended-upgr: no process found
+ sudo rm /var/lib/apt/lists/lock
+ sudo rm /var/cache/apt/archives/lock
+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
+ sudo sudo dpkg --configure -a --force-confdef
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Get:1 http://www.deb-multimedia.org buster InRelease [18.1 kB]
Get:2 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
Hit:3 http://security.debian.org/debian-security buster/updates InRelease
Hit:4 https://oph.mdrjr.net/meveric all InRelease
Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
Get:6 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
Hit:7 https://oph.mdrjr.net/meveric buster InRelease
Get:8 http://www.deb-multimedia.org buster/main Sources [100 kB]
Get:9 http://www.deb-multimedia.org buster/non-free Sources [3244 B]
Get:10 http://www.deb-multimedia.org buster/main arm64 Packages [110 kB]
Get:11 http://www.deb-multimedia.org buster/main Translation-en [82.7 kB]
Get:12 http://www.deb-multimedia.org buster/non-free arm64 Packages [1500 B]
Get:13 http://www.deb-multimedia.org buster/non-free Translation-en [3058 B]
Fetched 498 kB in 3s (166 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
273 packages can be upgraded. Run 'apt list --upgradable' to see them.
+ echo 3
+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
Vérification si la source deb-multimedia existe (bug lors du apt-get update si c'est le cas)
deb-multimedia existe !
Désactivation de la source deb-multimedia !
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Get:2 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
Hit:3 https://oph.mdrjr.net/meveric all InRelease
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Get:5 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
Hit:6 https://oph.mdrjr.net/meveric buster InRelease
Fetched 178 kB in 3s (63.1 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (1.8.2.3).
build-essential is already the newest version (12.6).
lsb-release is already the newest version (10.2019051400).
git is already the newest version (1:2.20.1-2+deb10u9).
0 upgraded, 0 newly installed, 0 to remove and 274 not upgraded.
[Check Version NodeJS actuelle : v18.20.3 : [ OK ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ]
Réactivation de la source deb-multimedia qu'on avait désactivé !
+ echo 4
+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
Vérification si la source deb-multimedia existe (bug lors du apt-get update si c'est le cas)
deb-multimedia existe !
Désactivation de la source deb-multimedia !
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Get:2 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
Hit:3 https://oph.mdrjr.net/meveric all InRelease
Get:4 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
Hit:6 https://oph.mdrjr.net/meveric buster InRelease
Fetched 178 kB in 2s (76.7 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (1.8.2.3).
build-essential is already the newest version (12.6).
lsb-release is already the newest version (10.2019051400).
git is already the newest version (1:2.20.1-2+deb10u9).
0 upgraded, 0 newly installed, 0 to remove and 274 not upgraded.
[Check Version NodeJS actuelle : v18.20.3 : [ OK ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ]
Réactivation de la source deb-multimedia qu'on avait désactivé !
+ echo 5
+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
Vérification si la source deb-multimedia existe (bug lors du apt-get update si c'est le cas)
deb-multimedia existe !
Désactivation de la source deb-multimedia !
Get:1 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Hit:3 https://oph.mdrjr.net/meveric all InRelease
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Get:5 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
Hit:6 https://oph.mdrjr.net/meveric buster InRelease
Fetched 178 kB in 2s (77.4 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (1.8.2.3).
build-essential is already the newest version (12.6).
lsb-release is already the newest version (10.2019051400).
git is already the newest version (1:2.20.1-2+deb10u9).
0 upgraded, 0 newly installed, 0 to remove and 274 not upgraded.
[Check Version NodeJS actuelle : v18.20.3 : [ OK ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ]
Réactivation de la source deb-multimedia qu'on avait désactivé !
+ echo 6
+ sudo chmod +x /var/www/html/core/class/../../resources/install_composer.sh
+ sudo /var/www/html/core/class/../../resources/install_composer.sh
Begin installation of composer
--2024-07-02 09:18:03-- https://getcomposer.org/installer
Resolving getcomposer.org (getcomposer.org)... 2001:41d0:302:1100::8:104f, 54.36.53.46
Connecting to getcomposer.org (getcomposer.org)|2001:41d0:302:1100::8:104f|:443... failed: Connection timed out.
Connecting to getcomposer.org (getcomposer.org)|54.36.53.46|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 58444 (57K) [application/octet-stream]
Saving to: 'composer-setup.php'
0K .......... .......... .......... .......... .......... 87% 3.11M 0s
50K ....... 100% 27.9M=0.02s
2024-07-02 09:20:11 (3.50 MB/s) - 'composer-setup.php' saved [58444/58444]
All settings correct for using Composer
Downloading...
PHP Warning: file_get_contents(/var/www/html/core/ajax/composer-temp.phar): failed to open stream: No such file or directory in /var/www/html/core/ajax/composer-setup.php on line 1087
Warning: file_get_contents(/var/www/html/core/ajax/composer-temp.phar): failed to open stream: No such file or directory in /var/www/html/core/ajax/composer-setup.php on line 1087
Signature mismatch, could not verify the phar file integrity
Retrying...
Composer (version 2.7.7) successfully installed to: /var/www/html/core/ajax/composer.phar
Use it: php composer.phar
PHP Warning: unlink(composer-setup.php): No such file or directory in Command line code on line 1
End installation of composer
+ echo 7
+ cd /var/www/html/core/class/../../plugins/mqtt2/resources/mqtt2d
+ rm -rf node_modules
+ sudo NODE_OPTIONS=--dns-result-order=ipv4first npm install
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
added 117 packages, and audited 118 packages in 7s
19 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
+ sudo chown -R www-data:www-data jeedom mqtt2d.js node_modules package-lock.json package.json
+ echo 8
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end mqtt2
Synchronizing state of mosquitto.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable mosquitto
+ echo 9
+ rm /tmp/jeedom_install_in_progress_mqtt2
+ echo '*******************End of package installation******************'
*******************End of package installation******************
Et pour jeeZigbee (z2m)
Log du plugin z2m_packages :
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_z2m
+ echo 1
+ echo 2
+ sudo chmod +x /var/www/html/core/class/../../plugins/z2m/resources/pre-install.sh
+ sudo /var/www/html/core/class/../../plugins/z2m/resources/pre-install.sh
Launch pre-install of z2m dependancy
+ echo 3
+ php /var/www/html/core/class/../php/jeecli.php plugin install mqtt2
apt: no process found
apt-get: no process found
unattended-upgr: no process found
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Get:2 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
Get:3 http://www.deb-multimedia.org buster InRelease [18.1 kB]
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Get:5 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
Hit:6 https://oph.mdrjr.net/meveric all InRelease
Hit:7 https://oph.mdrjr.net/meveric buster InRelease
Get:8 http://www.deb-multimedia.org buster/main Sources [100 kB]
Get:9 http://www.deb-multimedia.org buster/non-free Sources [3244 B]
Get:10 http://www.deb-multimedia.org buster/main arm64 Packages [110 kB]
Get:11 http://www.deb-multimedia.org buster/main Translation-en [82.7 kB]
Get:12 http://www.deb-multimedia.org buster/non-free arm64 Packages [1500 B]
Get:13 http://www.deb-multimedia.org buster/non-free Translation-en [3058 B]
Fetched 498 kB in 3s (181 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
273 packages can be upgraded. Run 'apt list --upgradable' to see them.
Vérification si la source deb-multimedia existe (bug lors du apt-get update si c'est le cas)
deb-multimedia existe !
Désactivation de la source deb-multimedia !
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Get:2 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
Hit:3 https://oph.mdrjr.net/meveric all InRelease
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Get:5 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
Hit:6 https://oph.mdrjr.net/meveric buster InRelease
Fetched 178 kB in 2s (77.1 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (1.8.2.3).
build-essential is already the newest version (12.6).
lsb-release is already the newest version (10.2019051400).
git is already the newest version (1:2.20.1-2+deb10u9).
0 upgraded, 0 newly installed, 0 to remove and 274 not upgraded.
[Check Version NodeJS actuelle : v18.20.3 : [ OK ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ]
Réactivation de la source deb-multimedia qu'on avait désactivé !
Vérification si la source deb-multimedia existe (bug lors du apt-get update si c'est le cas)
deb-multimedia existe !
Désactivation de la source deb-multimedia !
Get:1 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Hit:3 https://deb.nodesource.com/node_18.x nodistro InRelease
Get:4 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
Hit:5 https://oph.mdrjr.net/meveric all InRelease
Hit:6 https://oph.mdrjr.net/meveric buster InRelease
Fetched 178 kB in 8s (23.7 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (1.8.2.3).
build-essential is already the newest version (12.6).
lsb-release is already the newest version (10.2019051400).
git is already the newest version (1:2.20.1-2+deb10u9).
0 upgraded, 0 newly installed, 0 to remove and 274 not upgraded.
[Check Version NodeJS actuelle : v18.20.3 : [ OK ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ]
Réactivation de la source deb-multimedia qu'on avait désactivé !
Vérification si la source deb-multimedia existe (bug lors du apt-get update si c'est le cas)
deb-multimedia existe !
Désactivation de la source deb-multimedia !
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Get:2 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
Hit:3 https://oph.mdrjr.net/meveric all InRelease
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Get:5 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
Hit:6 https://oph.mdrjr.net/meveric buster InRelease
Fetched 178 kB in 2s (77.4 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (1.8.2.3).
build-essential is already the newest version (12.6).
lsb-release is already the newest version (10.2019051400).
git is already the newest version (1:2.20.1-2+deb10u9).
0 upgraded, 0 newly installed, 0 to remove and 274 not upgraded.
[Check Version NodeJS actuelle : v18.20.3 : [ OK ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ]
Réactivation de la source deb-multimedia qu'on avait désactivé !
--2024-07-03 11:00:34-- https://getcomposer.org/installer
Resolving getcomposer.org (getcomposer.org)... 2001:41d0:302:1100::8:104f, 54.36.53.46
Connecting to getcomposer.org (getcomposer.org)|2001:41d0:302:1100::8:104f|:443... failed: Connection timed out.
Connecting to getcomposer.org (getcomposer.org)|54.36.53.46|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 58444 (57K) [application/octet-stream]
Saving to: 'composer-setup.php'
0K .......... .......... .......... .......... .......... 87% 2.52M 0s
50K ....... 100% 29.9M=0.02s
2024-07-03 11:02:42 (2.84 MB/s) - 'composer-setup.php' saved [58444/58444]
Begin installation of composer
All settings correct for using Composer
Downloading...
Composer (version 2.7.7) successfully installed to: /var/www/html/core/ajax/composer.phar
Use it: php composer.phar
End installation of composer
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
added 117 packages, and audited 118 packages in 7s
19 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Synchronizing state of mosquitto.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable mosquitto
+ echo 4
+ sudo killall apt apt-get unattended-upgr
apt: no process found
apt-get: no process found
unattended-upgr: no process found
+ sudo rm /var/lib/apt/lists/lock
+ sudo rm /var/cache/apt/archives/lock
+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
+ sudo sudo dpkg --configure -a --force-confdef
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Get:1 http://www.deb-multimedia.org buster InRelease [18.1 kB]
Get:2 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
Hit:3 http://security.debian.org/debian-security buster/updates InRelease
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Get:5 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
Get:6 http://www.deb-multimedia.org buster/non-free Sources [3244 B]
Get:7 http://www.deb-multimedia.org buster/main Sources [100 kB]
Get:8 http://www.deb-multimedia.org buster/main arm64 Packages [110 kB]
Get:9 http://www.deb-multimedia.org buster/main Translation-en [82.7 kB]
Get:10 http://www.deb-multimedia.org buster/non-free arm64 Packages [1500 B]
Get:11 http://www.deb-multimedia.org buster/non-free Translation-en [3058 B]
Hit:12 https://oph.mdrjr.net/meveric all InRelease
Hit:13 https://oph.mdrjr.net/meveric buster InRelease
Fetched 498 kB in 3s (185 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
273 packages can be upgraded. Run 'apt list --upgradable' to see them.
+ echo 5
+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
Vérification si la source deb-multimedia existe (bug lors du apt-get update si c'est le cas)
deb-multimedia existe !
Désactivation de la source deb-multimedia !
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Get:2 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
Hit:3 https://oph.mdrjr.net/meveric all InRelease
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Get:5 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
Hit:6 https://oph.mdrjr.net/meveric buster InRelease
Fetched 178 kB in 2s (77.4 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (1.8.2.3).
build-essential is already the newest version (12.6).
lsb-release is already the newest version (10.2019051400).
git is already the newest version (1:2.20.1-2+deb10u9).
0 upgraded, 0 newly installed, 0 to remove and 274 not upgraded.
[Check Version NodeJS actuelle : v18.20.3 : [ OK ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ]
Réactivation de la source deb-multimedia qu'on avait désactivé !
+ echo 6
+ sudo apt install -o Dpkg::Options::=--force-confdef -y php-yaml
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
php-yaml is already the newest version (2.0.2+1.3.1-4).
0 upgraded, 0 newly installed, 0 to remove and 274 not upgraded.
+ echo 7
+ sudo systemctl restart apache2
+ echo 8
+ sudo chmod +x /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
+ sudo /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
+ echo Launch post-install of z2m dependancy
Launch post-install of z2m dependancy
+ realpath /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
+ dirname /var/www/html/plugins/z2m/resources/post-install.sh
+ BASEDIR=/var/www/html/plugins/z2m/resources
+ [ -d /var/www/html/plugins/z2m/resources/zigbee2mqtt ]
+ rm -rf /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ mkdir /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ git clone --depth 1 https://github.com/Koenkk/zigbee2mqtt.git /var/www/html/plugins/z2m/resources/zigbee2mqtt
Cloning into '/var/www/html/plugins/z2m/resources/zigbee2mqtt'...
+ cd /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ [ -f /var/www/html/plugins/z2m/resources/../data/wanted_z2m_version ]
+ npm ci
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm error Exit handler never called!
npm error This is an error with npm itself. Please report this error at:
npm error <https://github.com/npm/cli/issues>
npm error A complete log of this run can be found in: /root/.npm/_logs/2024-07-03T11_09_46_657Z-debug-0.log
+ npm run build
> zigbee2mqtt@1.39.0 build
> tsc && node index.js writehash
sh: 1: tsc: not found
+ chown www-data:www-data -R /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ echo 9
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end z2m
+ echo 10
+ rm /tmp/jeedom_install_in_progress_z2m
+ echo '*******************End of package installation******************'
*******************End of package installation******************
Log du plugin z2md
> zigbee2mqtt@1.39.0 start
> node index.js
node:internal/modules/cjs/loader:1143
throw err;
^
Error: Cannot find module 'semver'
Require stack:
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js:1:16)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js' ]
}
Node.js v18.20.3
> zigbee2mqtt@1.39.0 start
> node index.js
node:internal/modules/cjs/loader:1143
throw err;
^
Error: Cannot find module 'semver'
Require stack:
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js:1:16)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js' ]
}
Node.js v18.20.3
> zigbee2mqtt@1.39.0 start
> node index.js
node:internal/modules/cjs/loader:1143
throw err;
^
Error: Cannot find module 'semver'
Require stack:
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js:1:16)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js' ]
}
Node.js v18.20.3
Si quelqu’un à une idée, je suis preneur ! ^^
Merci