Depuis la mise à jour d’hier mon plugin GSH a rendu l’âme.
Attention, j’ai des erreurs différentes que celle que j’ai pu lire dans d’autres sujets. Surtout sur l’installation des dépendances.
Après, vous pouvez fusionner, ça sera fait surement ainsi, et ça deviendra illisible.
Jeedom: 3.3.49
GSH (stable) : 2020-05-05 12:01:44
L’installation des dépendances échoue, depuis jeedom, ou en ligne de commande:
guihome@jeedom:/var/www/html/plugins/gsh/resources/gshd $ sudo npm install
(node:10196) [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.19.66-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
Côté démon, ça ne démarre plus:
npm ERR! Error: ENOENT: no such file or directory, open '/var/www/html/plugins/gsh/resources/gshd/node_modules/--udp_discovery_port/package.json'
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.19.66-v7+
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "--prefix" "/var/www/html/plugins/gsh/core/class/../../resources/gshd" "start" "--" "--udp_discovery_port" "3311" "--udp_discovery_packet" "4AXXXXXXF6D" "--pid" "/tmp/jeedom/gsh/deamon.pid" "--loglevel" "error"
npm ERR! cwd /var/www
npm ERR! node -v v8.11.1
npm ERR! npm -v 1.4.21
npm ERR! path /var/www/html/plugins/gsh/resources/gshd/node_modules/--udp_discovery_port/package.json
npm ERR! syscall open
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /var/www/npm-debug.log
npm ERR! not ok code 0
En tous cas cette mise à jour devrait être annulée, clairement, elle ne passe pas !
Avec quelle version de node et npm vous l’avez validée ?
guihome@jeedom:/var/www/html/plugins/gsh/resources/gshd $ npm --version
1.4.21
guihome@jeedom:/var/www/html/plugins/gsh/resources/gshd $ node --version
v8.11.1

