J'ai également un problème lors de l'installation des dépendances.
Voici le log:
Code : Tout sélectionner
Début de l'installation
--2019-09-28 18:35:37-- https://raw.githubusercontent.com/lunarok/jeedom_nodejs/master/nodejs.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.120.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.120.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1491 (1.5K) [text/plain]
Saving to: 'dependencies.sh'
0K . 100% 8.38M=0s
2019-09-28 18:35:37 (8.38 MB/s) - 'dependencies.sh' saved [1491/1491]
dependencies.sh: 3: [: /tmp/jeedom/loxone/dependancy: unexpected operator
Version actuelle : 4
Ign:1 http://deb.debian.org/debian stretch InRelease
Ign:2 http://deb.debian.org/debian updates InRelease
Hit:3 http://deb.debian.org/debian stretch Release
Ign:4 http://deb.debian.org/debian updates Release
Ign:5 http://deb.debian.org/debian updates/main Sources
Ign:6 http://deb.debian.org/debian updates/main all Packages
Ign:7 http://deb.debian.org/debian updates/main amd64 Packages
Ign:8 http://deb.debian.org/debian updates/main Translation-en
Ign:9 http://deb.debian.org/debian updates/main Translation-fr
Ign:5 http://deb.debian.org/debian updates/main Sources
Ign:6 http://deb.debian.org/debian updates/main all Packages
Ign:7 http://deb.debian.org/debian updates/main amd64 Packages
Ign:8 http://deb.debian.org/debian updates/main Translation-en
Ign:9 http://deb.debian.org/debian updates/main Translation-fr
Ign:5 http://deb.debian.org/debian updates/main Sources
Ign:6 http://deb.debian.org/debian updates/main all Packages
Ign:7 http://deb.debian.org/debian updates/main amd64 Packages
Ign:8 http://deb.debian.org/debian updates/main Translation-en
Ign:9 http://deb.debian.org/debian updates/main Translation-fr
Ign:5 http://deb.debian.org/debian updates/main Sources
Ign:6 http://deb.debian.org/debian updates/main all Packages
Ign:7 http://deb.debian.org/debian updates/main amd64 Packages
Ign:8 http://deb.debian.org/debian updates/main Translation-en
Ign:9 http://deb.debian.org/debian updates/main Translation-fr
Ign:5 http://deb.debian.org/debian updates/main Sources
Ign:6 http://deb.debian.org/debian updates/main all Packages
Ign:7 http://deb.debian.org/debian updates/main amd64 Packages
Ign:8 http://deb.debian.org/debian updates/main Translation-en
Ign:9 http://deb.debian.org/debian updates/main Translation-fr
Err:5 http://deb.debian.org/debian updates/main Sources
404 Not Found [IP: 2a04:4e42:1d::204 80]
Ign:6 http://deb.debian.org/debian updates/main all Packages
Ign:7 http://deb.debian.org/debian updates/main amd64 Packages
Ign:8 http://deb.debian.org/debian updates/main Translation-en
Ign:9 http://deb.debian.org/debian updates/main Translation-fr
Reading package lists...
W: The repository 'http://deb.debian.org/debian updates Release' does not have a Release file.
E: Failed to fetch http://deb.debian.org/debian/dists/updates/main/source/Sources 404 Not Found [IP: 2a04:4e42:1d::204 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (9.20161125).
0 upgraded, 0 newly installed, 0 to remove and 268 not upgraded.
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package npm
dependencies.sh: 37: [: x86_64: unexpected operator
Utilisation du dépot officiel
## Installing the NodeSource Node.js 12.x repo...
## Populating apt-get cache...
+ apt-get update
Ign:1 http://deb.debian.org/debian stretch InRelease
Ign:2 http://deb.debian.org/debian updates InRelease
Hit:3 http://deb.debian.org/debian stretch Release
Ign:4 http://deb.debian.org/debian updates Release
Ign:5 http://deb.debian.org/debian updates/main Sources
Ign:6 http://deb.debian.org/debian updates/main all Packages
Ign:7 http://deb.debian.org/debian updates/main amd64 Packages
Ign:8 http://deb.debian.org/debian updates/main Translation-fr
Ign:9 http://deb.debian.org/debian updates/main Translation-en
Ign:5 http://deb.debian.org/debian updates/main Sources
Ign:6 http://deb.debian.org/debian updates/main all Packages
Ign:7 http://deb.debian.org/debian updates/main amd64 Packages
Ign:8 http://deb.debian.org/debian updates/main Translation-fr
Ign:9 http://deb.debian.org/debian updates/main Translation-en
Ign:5 http://deb.debian.org/debian updates/main Sources
Ign:6 http://deb.debian.org/debian updates/main all Packages
Ign:7 http://deb.debian.org/debian updates/main amd64 Packages
Ign:8 http://deb.debian.org/debian updates/main Translation-fr
Ign:9 http://deb.debian.org/debian updates/main Translation-en
Ign:5 http://deb.debian.org/debian updates/main Sources
Ign:6 http://deb.debian.org/debian updates/main all Packages
Ign:7 http://deb.debian.org/debian updates/main amd64 Packages
Ign:8 http://deb.debian.org/debian updates/main Translation-fr
Ign:9 http://deb.debian.org/debian updates/main Translation-en
Ign:5 http://deb.debian.org/debian updates/main Sources
Ign:6 http://deb.debian.org/debian updates/main all Packages
Ign:7 http://deb.debian.org/debian updates/main amd64 Packages
Ign:8 http://deb.debian.org/debian updates/main Translation-fr
Ign:9 http://deb.debian.org/debian updates/main Translation-en
Err:5 http://deb.debian.org/debian updates/main Sources
404 Not Found [IP: 2a04:4e42:1d::204 80]
Ign:6 http://deb.debian.org/debian updates/main all Packages
Ign:7 http://deb.debian.org/debian updates/main amd64 Packages
Ign:8 http://deb.debian.org/debian updates/main Translation-fr
Ign:9 http://deb.debian.org/debian updates/main Translation-en
Reading package lists...
W: The repository 'http://deb.debian.org/debian updates Release' does not have a Release file.
E: Failed to fetch http://deb.debian.org/debian/dists/updates/main/source/Sources 404 Not Found [IP: 2a04:4e42:1d::204 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Error executing command, exiting
Reading package lists...
Building dependency tree...
Reading state information...
nodejs is already the newest version (4.8.2~dfsg-1).
0 upgraded, 0 newly installed, 0 to remove and 268 not upgraded.
Version actuelle : v4.8.2
dependencies.sh: 59: dependencies.sh: npm: not found
chown: cannot access 'node_modules': No such file or directory
Fin de l'installation