merci
voici ce que je viens de faire :
-pi@raspberrypi:~ $ ls -ial /usr/bin/nodejs
16542 lrwxrwxrwx 1 root root 13 oct. 6 2021 /usr/bin/nodejs → /usr/bin/node
pi@raspberrypi:~ $ sudo ln -s which nodewhich nodejs
ln: impossible de créer le lien symbolique ‹ /usr/local/bin/nodejs ›: Le fichier existe
puis:
il faut que ce module nodejs request soit installé
pour que ce module nodejs soit installé il faut aller dans :
Réglages > Système > Editeur de fichiers
plugins/rflink/plugin_info/packages.json
et remplacer :
{
"npm" : {
"plugins/rflink/resources": {},
}
}
par :
{
"npm" : {
"plugins/rflink/resources": {}
}
}
puis relancer les dépendances.
pas de changement toujours le meme message
je viens de réinstaller par dessus le plug in j ai un nouveau log rflink_packages qui a apparu
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_rflink
+ echo 1
+ echo 2
+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Hit:3 https://deb.nodesource.com/node_14.x buster InRelease
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).
git is already the newest version (1:2.20.1-2+deb10u8).
lsb-release is already the newest version (10.2019051400+rpi1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[Check Version NodeJS actuelle : v18.16.0 : [ OK ]
[Check Prefix : /usr/local and sudo prefix : /usr/local and www-data prefix : /usr/local : [ OK ]
+ echo 3
+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Hit:3 https://deb.nodesource.com/node_14.x buster InRelease
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).
git is already the newest version (1:2.20.1-2+deb10u8).
lsb-release is already the newest version (10.2019051400+rpi1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[Check Version NodeJS actuelle : v18.16.0 : [ OK ]
[Check Prefix : /usr/local and sudo prefix : /usr/local and www-data prefix : /usr/local : [ OK ]
+ echo 4
+ cd /var/www/html/core/class/../../plugins/rflink/resources
+ rm -rf node_modules
+ sudo npm install
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
added 103 packages, and audited 104 packages in 30s
23 packages are looking for funding
run `npm fund` for details
1 moderate severity vulnerability
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.
+ chown -R www-data:www-data node_modules package-lock.json package.json rflink rflink.js update_firmware.sh
+ echo 5
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end rflink
+ rm /tmp/jeedom_install_in_progress_rflink
+ echo '*******************End of package installation******************'
*******************End of package installation******************
log du rflink_node
Sun Apr 16 2023 15:36:37 GMT+0200 (Central European Summer Time) - Jeedom url : http://127.0.0.1:80/plugins/rflink/core/api/rflink.php?apikey=yKZc1SgpejnEtZaMlkFOda7fpnW7KtAYVAQ7sQKg1afB3pUq1CXsfHBe7NJQOTCy, gwAddress : /dev/ttyAMA0
Sun Apr 16 2023 15:36:37 GMT+0200 (Central European Summer Time) - server bound on 8020
Port open
Sun Apr 16 2023 15:36:41 GMT+0200 (Central European Summer Time) - Server connected
le daemon est de nouveau ok mais rien de fonctionnel