Je viens de faire une installe Jeedom to neuve pour tester Zwave-JS, sur une VM debian 11 (bullseye). Je n’ai dessus, pour le moment, que MQTT manager correctement installé et paramétré.
Par conter, pour Zwave-JS, quand je veux lancer l’installation des dépendances, ça ne se fini pas correctement :
0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_zwavejs
0003|+ echo 1
0004|+ echo 2
0005|+ sudo chmod +x /var/www/html/core/class/../../plugins/zwavejs/resources/pre_install.sh
0006|+ sudo /var/www/html/core/class/../../plugins/zwavejs/resources/pre_install.sh
0007|+ echo 'Pre installation de l'\''installation/mise à jour des dépendances zwavejs'
0008|Pre installation de l'installation/mise à jour des dépendances zwavejs
0009|+++ dirname /var/www/html/core/class/../../plugins/zwavejs/resources/pre_install.sh
0010|++ cd /var/www/html/core/class/../../plugins/zwavejs/resources
0011|++ pwd
0012|+ BASEDIR=/var/www/html/plugins/zwavejs/resources
0013|+ cd /var/www/html/plugins/zwavejs/resources
0014|+ rm -R zwavejs2mqtt
0015|+ git clone https://github.com/zwave-js/zwavejs2mqtt
0016|Clonage dans 'zwavejs2mqtt'...
0017|+ echo 'Pre install finished'
0018|Pre install finished
0019|+ echo 3
0020|+ sudo npm install --force -g yarn
0021|npm WARN using --force Recommended protections disabled.
0022|changed 1 package, and audited 2 packages in 763ms
0023|found 0 vulnerabilities
0024|+ echo 4
0025|+ sudo chmod +x /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
0026|+ sudo /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
0027|+ echo 'Post installation de l'\''installation/mise à jour des dépendances zwavejs'
0028|Post installation de l'installation/mise à jour des dépendances zwavejs
0029|+++ dirname /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
0030|++ cd /var/www/html/core/class/../../plugins/zwavejs/resources
0031|++ pwd
0032|+ BASEDIR=/var/www/html/plugins/zwavejs/resources
0033|+ cd /var/www/html/plugins/zwavejs/resources
0034|+ cd zwavejs2mqtt
0035|+ sudo yarn install
0036|➤ YN0000: ┌ Resolution step
0037|➤ YN0002: │ ts-node-dev@npm:2.0.0 [d6947] doesn't provide @types/node (pe76a7), requested by ts-node
0038|➤ YN0060: │ zwavejs2mqtt@workspace:. provides eslint (p3a897) with version 8.21.0, which doesn't satisfy what eslint-loader requests
0039|➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code
0040|➤ YN0000: └ Completed in 0s 329ms
0041|➤ YN0000: ┌ Fetch step
0042|➤ YN0000: └ Completed in 0s 776ms
0043|➤ YN0000: ┌ Link step
0044|➤ YN0007: │ core-js@npm:2.6.12 must be built because it never has been before or the last one failed
0045|➤ YN0007: │ docsify@npm:4.12.2 must be built because it never has been before or the last one failed
0046|➤ YN0007: │ core-js@npm:3.23.5 must be built because it never has been before or the last one failed
0047|➤ YN0007: │ leveldown@npm:5.6.0 must be built because it never has been before or the last one failed
0048|➤ YN0007: │ @serialport/bindings-cpp@npm:10.7.0 must be built because it never has been before or the last one failed
0049|➤ YN0007: │ level@npm:5.0.1 must be built because it never has been before or the last one failed
0050|➤ YN0000: └ Completed in 14s 88ms
0051|➤ YN0000: Done with warnings in 15s 496ms
0052|+ sudo yarn run build
0053|- building for production...
0054|assets by path e[1me[32mstatic/favicons/e[39me[22m 49.4 KiB
0055|assets by path e[1me[32mstatic/favicons/*.pnge[39me[22m 46.3 KiB 6 assets
0056|asset e[1me[32mstatic/favicons/safari-pinned-tab.svge[39me[22m 2.51 KiB e[1me[32m[emitted]e[39me[22m [from: static/favicons/safari-pinned-tab.svg] e[1me[32m[copied]e[39me[22m
0057|asset e[1me[32mstatic/favicons/site.webmanifeste[39me[22m 409 bytes e[1me[32m[emitted]e[39me[22m [from: static/favicons/site.webmanifest] e[1me[32m[copied]e[39me[22m
0058|asset e[1me[32mstatic/favicons/browserconfig.xmle[39me[22m 246 bytes e[1me[32m[emitted]e[39me[22m [from: static/favicons/browserconfig.xml] e[1me[32m[copied]e[39me[22m
0059|assets by info 3.58 MiB e[1me[32m[immutable]e[39me[22m
0060|assets by path e[1me[32mstatic/fonts/e[39me[22m 759 KiB
0061|asset e[1me[33mstatic/fonts/MaterialIcons-Regular.698bd85.ttfe[39me[22m e[1me[33m339 KiBe[39me[22m e[1me[32m[emitted]e[39me[22m e[1me[32m[immutable]e[39me[22m [from: node_modules/material-design-icons-iconfont/dist/fonts/MaterialIcons-Regular.ttf] e[1me[33m[big]e[39me[22m
0062|+ 3 assets
0063|assets by chunk 2.83 MiB (name: app)
0064|asset e[1me[33mstatic/js/app.b74527c4e82e597ca275.jse[39me[22m e[1me[33m2.17 MiBe[39me[22m e[1me[32m[emitted]e[39me[22m e[1me[32m[immutable]e[39me[22m e[1me[32m[minimized]e[39me[22m e[1me[33m[big]e[39me[22m (name: app) 1 related asset
0065|asset e[1me[33mstatic/css/app.7432babe828d0c00fa25.csse[39me[22m e[1me[33m677 KiBe[39me[22m e[1me[32m[emitted]e[39me[22m e[1me[32m[immutable]e[39me[22m e[1me[33m[big]e[39me[22m (name: app) 1 related asset
0066|asset e[1me[32mstatic/logo.pnge[39me[22m 25.6 KiB e[1me[32m[emitted]e[39me[22m [from: static/logo.png] e[1me[32m[copied]e[39me[22m
0067|asset e[1me[32mstatic/favicon.icoe[39me[22m 14.7 KiB e[1me[32m[emitted]e[39me[22m [from: static/favicon.ico] e[1me[32m[copied]e[39me[22m
0068|asset e[1me[32mstatic/.gitkeepe[39me[22m 0 bytes e[1me[32m[emitted]e[39me[22m [from: static/.gitkeep] e[1me[32m[copied]e[39me[22m
0069|Entrypoint e[1mappe[39me[22m e[1me[33m[big]e[39me[22m 2.83 MiB (850 KiB) = e[1me[32mstatic/js/app.b74527c4e82e597ca275.jse[39me[22m 2.17 MiB e[1me[32mstatic/css/app.7432babe828d0c00fa25.csse[39me[22m 677 KiB 1 auxiliary asset
0070|e[1me[33mWARNINGe[39me[22m in e[1masset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
0071|This can impact web performance.
0072|Assets:
0073|static/fonts/MaterialIcons-Regular.698bd85.ttf (339 KiB)
0074|static/js/app.b74527c4e82e597ca275.js (2.17 MiB)
0075|static/css/app.7432babe828d0c00fa25.css (677 KiB)e[39me[22m
0076|e[1me[33mWARNINGe[39me[22m in e[1mentrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
0077|Entrypoints:
0078|app (2.83 MiB)
0079|static/js/app.b74527c4e82e597ca275.js
0080|static/css/app.7432babe828d0c00fa25.css
0081|e[39me[22m
0082|e[1me[33mWARNINGe[39me[22m in e[1mwebpack performance recommendations:
0083|You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
0084|For more info visit https://webpack.js.org/guides/code-splitting/e[39me[22m
0085|webpack 5.74.0 compiled with e[1me[33m3 warningse[39me[22m in 28504 ms
0086|Build complete.
0087|Tip: built files are meant to be served over an HTTP server.
0088|Opening index.html over file:// won't work.
0089|+ chown -R www-data:www-data app.ts bin build CHANGELOG.md config dist docker docs hass kubernetes kustomization.yaml lib LICENSE node_modules nodemon.json package.json package.sh pkg README.md SECURITY.md server src static store test tsconfig.eslint.json tsconfig.json views wallaby.js yarn.lock
0090|+ '[' -e /dev/ttyAMA0 ']'
0091|+ '[' -e /dev/ttymxc0 ']'
0092|+ '[' -e /dev/ttyAMA0 ']'
0093|++ grep Revision /proc/cpuinfo
0094|++ tr -d ' '
0095|++ cut -d: -f2
0096|+ RPI_BOARD_REVISION=
0097|+ [[ '' == a\8 ]]
0098|+ [[ '' == a\8 ]]
0099|+ [[ '' == a\d ]]
0100|+ echo 'Everything is successfully installed!'
0101|Everything is successfully installed!
0102|+ echo 5
0103|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end zwavejs
0104|+ rm /tmp/jeedom_install_in_progress_zwavejs
0105|+ echo '*******************End of package installation******************'
0106|*******************End of package installation******************
Quand je regarde les logs je ne voie pas d’erreur, peut-être à tord. C’est pourquoi je me tourne vers vous pour avoir des idées de comment passer outre ce problème.
Pour information, voici les logs associé après avoir relancé l’installation :
0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_zwavejs
0003|+ echo 1
0004|+ echo 2
0005|+ sudo chmod +x /var/www/html/core/class/../../plugins/zwavejs/resources/pre_install.sh
0006|+ sudo /var/www/html/core/class/../../plugins/zwavejs/resources/pre_install.sh
0007|+ echo 'Pre installation de l'\''installation/mise à jour des dépendances zwavejs'
0008|Pre installation de l'installation/mise à jour des dépendances zwavejs
0009|+++ dirname /var/www/html/core/class/../../plugins/zwavejs/resources/pre_install.sh
0010|++ cd /var/www/html/core/class/../../plugins/zwavejs/resources
0011|++ pwd
0012|+ BASEDIR=/var/www/html/plugins/zwavejs/resources
0013|+ cd /var/www/html/plugins/zwavejs/resources
0014|+ rm -R zwavejs2mqtt
0015|+ git clone https://github.com/zwave-js/zwavejs2mqtt
0016|Cloning into 'zwavejs2mqtt'...
0017|+ echo 'Pre install finished'
0018|Pre install finished
0019|+ echo 3
0020|+ sudo chmod +x /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
0021|+ sudo /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
0022|+ echo 'Post installation de l'\''installation/mise à jour des dépendances zwavejs'
0023|Post installation de l'installation/mise à jour des dépendances zwavejs
0024|+++ dirname /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
0025|++ cd /var/www/html/core/class/../../plugins/zwavejs/resources
0026|++ pwd
0027|+ BASEDIR=/var/www/html/plugins/zwavejs/resources
0028|+ cd /var/www/html/plugins/zwavejs/resources
0029|+ cd zwavejs2mqtt
0030|+ sudo yarn install
0031|➤ YN0000: ┌ Resolution step
0032|➤ YN0002: │ ts-node-dev@npm:2.0.0 [d6947] doesn't provide @types/node (pe76a7), requested by ts-node
0033|➤ YN0060: │ zwavejs2mqtt@workspace:. provides eslint (p3a897) with version 8.21.0, which doesn't satisfy what eslint-loader requests
0034|➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code
0035|➤ YN0000: └ Completed in 0s 307ms
0036|➤ YN0000: ┌ Fetch step
0037|➤ YN0000: └ Completed in 0s 751ms
0038|➤ YN0000: ┌ Link step
0039|➤ YN0007: │ core-js@npm:2.6.12 must be built because it never has been before or the last one failed
0040|➤ YN0007: │ docsify@npm:4.12.2 must be built because it never has been before or the last one failed
0041|➤ YN0007: │ core-js@npm:3.23.5 must be built because it never has been before or the last one failed
0042|➤ YN0007: │ leveldown@npm:5.6.0 must be built because it never has been before or the last one failed
0043|➤ YN0007: │ @serialport/bindings-cpp@npm:10.7.0 must be built because it never has been before or the last one failed
0044|➤ YN0007: │ level@npm:5.0.1 must be built because it never has been before or the last one failed
0045|➤ YN0000: └ Completed in 15s 259ms
0046|➤ YN0000: Done with warnings in 16s 670ms
0047|+ sudo yarn run build
0048|- building for production...
0049|assets by path e[1me[32mstatic/favicons/e[39me[22m 49.4 KiB
0050|assets by path e[1me[32mstatic/favicons/*.pnge[39me[22m 46.3 KiB 6 assets
0051|asset e[1me[32mstatic/favicons/safari-pinned-tab.svge[39me[22m 2.51 KiB e[1me[32m[emitted]e[39me[22m [from: static/favicons/safari-pinned-tab.svg] e[1me[32m[copied]e[39me[22m
0052|asset e[1me[32mstatic/favicons/site.webmanifeste[39me[22m 409 bytes e[1me[32m[emitted]e[39me[22m [from: static/favicons/site.webmanifest] e[1me[32m[copied]e[39me[22m
0053|asset e[1me[32mstatic/favicons/browserconfig.xmle[39me[22m 246 bytes e[1me[32m[emitted]e[39me[22m [from: static/favicons/browserconfig.xml] e[1me[32m[copied]e[39me[22m
0054|assets by info 3.58 MiB e[1me[32m[immutable]e[39me[22m
0055|assets by path e[1me[32mstatic/fonts/e[39me[22m 759 KiB
0056|asset e[1me[33mstatic/fonts/MaterialIcons-Regular.698bd85.ttfe[39me[22m e[1me[33m339 KiBe[39me[22m e[1me[32m[emitted]e[39me[22m e[1me[32m[immutable]e[39me[22m [from: node_modules/material-design-icons-iconfont/dist/fonts/MaterialIcons-Regular.ttf] e[1me[33m[big]e[39me[22m
0057|+ 3 assets
0058|assets by chunk 2.83 MiB (name: app)
0059|asset e[1me[33mstatic/js/app.b74527c4e82e597ca275.jse[39me[22m e[1me[33m2.17 MiBe[39me[22m e[1me[32m[emitted]e[39me[22m e[1me[32m[immutable]e[39me[22m e[1me[32m[minimized]e[39me[22m e[1me[33m[big]e[39me[22m (name: app) 1 related asset
0060|asset e[1me[33mstatic/css/app.7432babe828d0c00fa25.csse[39me[22m e[1me[33m677 KiBe[39me[22m e[1me[32m[emitted]e[39me[22m e[1me[32m[immutable]e[39me[22m e[1me[33m[big]e[39me[22m (name: app) 1 related asset
0061|asset e[1me[32mstatic/logo.pnge[39me[22m 25.6 KiB e[1me[32m[emitted]e[39me[22m [from: static/logo.png] e[1me[32m[copied]e[39me[22m
0062|asset e[1me[32mstatic/favicon.icoe[39me[22m 14.7 KiB e[1me[32m[emitted]e[39me[22m [from: static/favicon.ico] e[1me[32m[copied]e[39me[22m
0063|asset e[1me[32mstatic/.gitkeepe[39me[22m 0 bytes e[1me[32m[emitted]e[39me[22m [from: static/.gitkeep] e[1me[32m[copied]e[39me[22m
0064|Entrypoint e[1mappe[39me[22m e[1me[33m[big]e[39me[22m 2.83 MiB (850 KiB) = e[1me[32mstatic/js/app.b74527c4e82e597ca275.jse[39me[22m 2.17 MiB e[1me[32mstatic/css/app.7432babe828d0c00fa25.csse[39me[22m 677 KiB 1 auxiliary asset
0065|e[1me[33mWARNINGe[39me[22m in e[1masset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
0066|This can impact web performance.
0067|Assets:
0068|static/fonts/MaterialIcons-Regular.698bd85.ttf (339 KiB)
0069|static/js/app.b74527c4e82e597ca275.js (2.17 MiB)
0070|static/css/app.7432babe828d0c00fa25.css (677 KiB)e[39me[22m
0071|e[1me[33mWARNINGe[39me[22m in e[1mentrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
0072|Entrypoints:
0073|app (2.83 MiB)
0074|static/js/app.b74527c4e82e597ca275.js
0075|static/css/app.7432babe828d0c00fa25.css
0076|e[39me[22m
0077|e[1me[33mWARNINGe[39me[22m in e[1mwebpack performance recommendations:
0078|You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
0079|For more info visit https://webpack.js.org/guides/code-splitting/e[39me[22m
0080|webpack 5.74.0 compiled with e[1me[33m3 warningse[39me[22m in 29341 ms
0081|Build complete.
0082|Tip: built files are meant to be served over an HTTP server.
0083|Opening index.html over file:// won't work.
0084|+ chown -R www-data:www-data CHANGELOG.md LICENSE README.md SECURITY.md app.ts bin build config dist docker docs hass kubernetes kustomization.yaml lib node_modules nodemon.json package.json package.sh pkg server src static store test tsconfig.eslint.json tsconfig.json views wallaby.js yarn.lock
0085|+ '[' -e /dev/ttyAMA0 ']'
0086|+ '[' -e /dev/ttymxc0 ']'
0087|+ '[' -e /dev/ttyAMA0 ']'
0088|++ grep Revision /proc/cpuinfo
0089|++ tr -d ' '
0090|++ cut -d: -f2
0091|+ RPI_BOARD_REVISION=
0092|+ [[ '' == a\8 ]]
0093|+ [[ '' == a\8 ]]
0094|+ [[ '' == a\d ]]
0095|+ echo 'Everything is successfully installed!'
0096|Everything is successfully installed!
0097|+ echo 4
0098|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end zwavejs
0099|+ rm /tmp/jeedom_install_in_progress_zwavejs
0100|+ echo '*******************End of package installation******************'
0101|*******************End of package installation******************