Dépendance : Mise à jour gsh d’aujourd’hui 29042020

Bonjour à tous. Idem chez moi : le demon ne démarre pas et je vois cette erreur dans les logs:
sudo: npm: command not found
sudo: npm: command not found
sudo: npm: command not found
sudo: npm: command not found
sudo: npm: command not found
sudo: npm: command not found
sudo: npm: command not found

Il n y a pas un autre sujet qui parle de ça ?

Bonjour à tous,

Après en avoir discuté avec l’équipe Jeedom, la correction a d’ores et déjà été mise en place il y a quelques heures.

Il suffit de mettre à jour le plugin ou d’attendre l’arrivée de la mise à jour demain pour corriger.

Pour information cette erreur n’a aucun impact sur l’utilisation du plugin. L’équipe est dans l’attente d’une validation de la part de Google qui n’arrive pas depuis plusieurs semaines. En cette période particulière les délais sont allongés pour tout le monde :wink:

Bonne journée à tous.

1 « J'aime »

Super bonne nouvelle merci!

Je viens de faire la mise à jour du 2020-05-05

J’ai fait directement le version 2020-05 -05 depuis j’ai ceci


> gsh-jeedom-local-discover@0.0.1 start /var/www/html/plugins/gsh/resources/gshd
> ts-node server.ts "--udp_discovery_port" "3311" "--udp_discovery_packet" "4A6565646F6D" "--pid" "/tmp/jeedom/gsh/deamon.pid" "--loglevel" "debug"
sh: 1: ts-node: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! gsh-jeedom-local-discover@0.0.1 start: `ts-node server.ts "--udp_discovery_port" "3311" "--udp_discovery_packet" "4A6565646F6D" "--pid" "/tmp/jeedom/gsh/deamon.pid" "--loglevel" "debug"`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the gsh-jeedom-local-discover@0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-05-05T12_36_08_607Z-debug.log
> gsh-jeedom-local-discover@0.0.1 start /var/www/html/plugins/gsh/resources/gshd
> ts-node server.ts "--udp_discovery_port" "3311" "--udp_discovery_packet" "4A6565646F6D" "--pid" "/tmp/jeedom/gsh/deamon.pid" "--loglevel" "debug"
sh: 1: ts-node: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! gsh-jeedom-local-discover@0.0.1 start: `ts-node server.ts "--udp_discovery_port" "3311" "--udp_discovery_packet" "4A6565646F6D" "--pid" "/tmp/jeedom/gsh/deamon.pid" "--loglevel" "debug"`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the gsh-jeedom-local-discover@0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-05-05T12_40_08_287Z-debug.log
> gsh-jeedom-local-discover@0.0.1 start /var/www/html/plugins/gsh/resources/gshd
> ts-node server.ts "--udp_discovery_port" "3311" "--udp_discovery_packet" "4A6565646F6D" "--pid" "/tmp/jeedom/gsh/deamon.pid" "--loglevel" "debug"
sh: 1: ts-node: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! gsh-jeedom-local-discover@0.0.1 start: `ts-node server.ts "--udp_discovery_port" "3311" "--udp_discovery_packet" "4A6565646F6D" "--pid" "/tmp/jeedom/gsh/deamon.pid" "--loglevel" "debug"`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the gsh-jeedom-local-discover@0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-05-05T12_45_09_051Z-debug.log
> gsh-jeedom-local-discover@0.0.1 start /var/www/html/plugins/gsh/resources/gshd
> ts-node server.ts "--udp_discovery_port" "3311" "--udp_discovery_packet" "4A6565646F6D" "--pid" "/tmp/jeedom/gsh/deamon.pid" "--loglevel" "debug"
sh: 1: ts-node: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! gsh-jeedom-local-discover@0.0.1 start: `ts-node server.ts "--udp_discovery_port" "3311" "--udp_discovery_packet" "4A6565646F6D" "--pid" "/tmp/jeedom/gsh/deamon.pid" "--loglevel" "debug"`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the gsh-jeedom-local-discover@0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-05-05T12_50_08_175Z-debug.log
> gsh-jeedom-local-discover@0.0.1 start /var/www/html/plugins/gsh/resources/gshd
> ts-node server.ts "--udp_discovery_port" "3311" "--udp_discovery_packet" "4A6565646F6D" "--pid" "/tmp/jeedom/gsh/deamon.pid" "--loglevel" "debug"
sh: 1: ts-node: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! gsh-jeedom-local-discover@0.0.1 start: `ts-node server.ts "--udp_discovery_port" "3311" "--udp_discovery_packet" "4A6565646F6D" "--pid" "/tmp/jeedom/gsh/deamon.pid" "--loglevel" "debug"`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the gsh-jeedom-local-discover@0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-05-05T12_55_08_095Z-debug.log

A savoir que j’avais pas fait la mise à jour du 2020-05-04

As ton avis si j’ai pas fait la mise à jour 2020-05-04 c pour cela que j’ai les messages sur la version 2020-05-05 ?

A mon avis tu as d’autres problèmes sur ton installation vu que tu avais déjà des erreurs auparavant.

quelque chose dans les logs Jeedom ?

quelque chose ici ?:

/root/.npm/_logs/2020-05-05T12_36_08_607Z-debug.log

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-05-05T12_36_08_607Z-debug.log

Peut-être essayer de désinstaller et réinstaller le plugin mais je n’y crois pas trop…

J’avais plus d’erreur depuis que j’ai pris le pack Jeedom

Bonjour,
J’ai reinstallé le plugins vers 17:00 et relancé les dépendances
j’ai l’erreur :

Processing triggers for libc-bin (2.24-11+deb9u3) ...
(node:8602) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
npm ERR! Error: Method Not Allowed
npm ERR!     at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10)
npm ERR!     at /usr/share/npm/lib/cache/add-named.js:203:12
npm ERR!     at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7)
npm ERR!     at FSReqWrap.oncomplete (fs.js:135:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Linux 4.14.90-v7+
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! cwd /var/www/html/plugins/gsh/resources/gshd
npm ERR! node -v v8.11.1
npm ERR! npm -v 1.4.21
npm ERR! code E405
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /var/www/html/plugins/gsh/resources/gshd/npm-debug.log
npm ERR! not ok code 0

Juste pour savoir et t aider
Tu as quoi comme matériel ?
Tu n aurais pas une smart par hasard ?

J’ai été prévenu que d’autres erreurs pourraient survenir dans l’attente de la validation par Google.

L’équipe fait au mieux pour corriger.

Comme le dit @JAG merci d’indiquer le matériel utilisé et la version de Debian & Jeedom svp pour analyser et voir si une correction doit être apportée côté Jeedom.

Matériel utiliser raspberry pi 3b+
Linux raspberrypi 4.19.113-v7+ #1300 SMP Thu Mar 26 16:53:09 GMT 2020 armv7l GNU/Linux [9.11] 10.1.44-MariaDB-0+deb9u1
Version Jeedom 4.0.54

@greg Merci pour les infos. Il faut savoir que le plugin fonctionne parfaitement sans dépendances et sans démon donc pas d’inquiétude à avoir. En tout cas ça a été remonté.

@synthol67 Ton erreur est différente et provient de ton installation. Tu es « bloqué » sur une ancienne version de node.
Il y a énormément de liens relatifs à cette erreur sur une recherche G**gle. Étant loin d’être un spécialiste du sujet je ne te ferais pas faire de manipulations sans savoir quel impact elles pourraient avoir sur ton installation ou sur les autres plugins.

Si tu as besoin d’aide je t’invite à ouvrir un sujet dédié en y précisant ton matériel et la version de jeedom et de debian.

Pas tout fonctionne mes modes par exemple ne fonctionne pas à la voix

Idem, j’ai le même soucis sur rpi3 jeedom v4

Il manque la version de Debian
Tu as l info dans la page santé de jeedom

1 « J'aime »

Même erreur que ce post ?

Quelle est la version de jeedom et debian ?

1 « J'aime »

Même erreur pour moi.
Debian 64 dans une VM.

J’ai relancé l’installation des dépendances : KO
Supprimé et réinstallé le plugin (après redémarrage) : KO

Debian 9.12 (VM Proxmox)
Jeedom 3.3.49
Version du plugin gsh : 05/05/2020

Bonjour pour ma part j’ai toujours le soucis maigres la mise jour de ce jour, mais effectivement pas de problème d’utilisation de plugin, donc pas d’urgence.
J’ai redémarré désactivé/activé toujours le problèmes.
Merci pour votre réactivité :slight_smile:
log:

gsh-jeedom-local-discover@0.0.1 start /var/www/html/plugins/gsh/resources/gshd
ts-node server.ts « –udp_discovery_port » « 3311 » « –udp_discovery_packet » « 4A6565646F6D » « –pid » « /tmp/jeedom/gsh/deamon.pid » « –loglevel » « error »
sh: 1: ts-node: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! gsh-jeedom-local-discover@0.0.1 start: ts-node server.ts "--udp_discovery_port" "3311" "--udp_discovery_packet" "4A6565646F6D" "--pid" "/tmp/jeedom/gsh/deamon.pid" "--loglevel" "error"
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the gsh-jeedom-local-discover@0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-05-05T18_09_51_583Z-debug.log