J'ai déjà testé mais sans succès.
Après la réparation l'installation des dépendances se fait automatiquement.
Et du coup j'ai un log alexa api qui me dit installation des dépendances trop long 0min.
Lancement de l'installation/mise à jour des dépendances
--20% Hit:1
http://archive.raspberrypi.org/debian stretch InRelease Hit:2
http://raspbian.raspberrypi.org/raspbian stretch InRelease Reading package lists...
--30% Version actuelle :
--40% KO, version obsolète à upgrader Suppression du Nodejs existant et installation du paquet recommandé Reading package lists... Building dependency tree... Reading state information... Package 'npm' is not installed, so not removed Package 'nodejs' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 127 not upgraded.
--45% Utilisation du dépot officiel ## Installing the NodeSource Node.js 8.x LTS Carbon repo... ## You appear to be running on ARMv6 hardware. Unfortunately this is not currently supported by the NodeSource Linux distributions. Please use the 'linux-armv6l' binary tarballs available directly from nodejs.org for Node.js 4 and later. Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: libc-ares2 libhttp-parser2.8 libuv1 nodejs-doc The following NEW packages will be installed: libc-ares2 libhttp-parser2.8 libuv1 nodejs nodejs-doc 0 upgraded, 5 newly installed, 0 to remove and 127 not upgraded. Need to get 0 B/5087 kB of archives. After this operation, 22.2 MB of additional disk space will be used. Selecting previously unselected package libc-ares2:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60218 files and directories currently installed.) Preparing to unpack .../libc-ares2_1.14.0-1~bpo9+1_armhf.deb ... Unpacking libc-ares2:armhf (1.14.0-1~bpo9+1) ... Selecting previously unselected package libhttp-parser2.8:armhf. Preparing to unpack .../libhttp-parser2.8_2.8.1-1~bpo9+1_armhf.deb ... Unpacking libhttp-parser2.8:armhf (2.8.1-1~bpo9+1) ... Selecting previously unselected package libuv1:armhf. Preparing to unpack .../libuv1_1.18.0-3~bpo9+1_armhf.deb ... Unpacking libuv1:armhf (1.18.0-3~bpo9+1) ... Selecting previously unselected package nodejs. Preparing to unpack .../nodejs_8.11.1~dfsg-2~bpo9+1_armhf.deb ... Unpacking nodejs (8.11.1~dfsg-2~bpo9+1) ... Selecting previously unselected package nodejs-doc. Preparing to unpack .../nodejs-doc_8.11.1~dfsg-2~bpo9+1_all.deb ... Unpacking nodejs-doc (8.11.1~dfsg-2~bpo9+1) ... Setting up nodejs-doc (8.11.1~dfsg-2~bpo9+1) ... Setting up libuv1:armhf (1.18.0-3~bpo9+1) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up libc-ares2:armhf (1.14.0-1~bpo9+1) ... Setting up libhttp-parser2.8:armhf (2.8.1-1~bpo9+1) ... Setting up nodejs (8.11.1~dfsg-2~bpo9+1) ... update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode Processing triggers for libc-bin (2.24-11+deb9u3) ... /var/www/html/plugins/alexaapi/resources/nodejs.sh: line 125: npm: command not found Version actuelle : v8.11.1
--50%
--60% Installation... sudo: npm: command not found chown: cannot access 'node_modules': No such file or directory --95% --100% Installation des dépendances alexaapi terminée, vérifiez qu'il n'y a pas
Cordialement.
Envoyé de mon SM-G955F en utilisant Tapatalk