Bonjour à tous…
J’ai un souci d’installation des dépendances, de ce que je comprends, souci avec nodejs…
Je suis sur smart, 4.2.12, le souci est arrivé après recovery, restauration sauvegarde, le plug in n’a jamais refonctionné depuis…
Je joins les logs de l’install des dépendances, si quelqu’un peut m’aiguiller…
Merci d’avance…
======================================================================
== 20/02/2022 15:49:57 == Installation des dépendances de alexaapi
======================================================================
[ 0% ] : Vérification des droits...
[ 4% ] : Vérification des droits : [0sec] : [ OK ]
[ 5% ] : Mise à jour APT et installation des packages nécessaires...
[ 9% ] : Mise à jour APT et installation des packages nécessaires : [10sec] : [ERREUR]
[ 10% ] : Prérequis...
/var/www/html/plugins/alexaapi/resources/install_nodejs.sh: line 8: [: /etc/apt/sources.list.d/deb-multimedia.list: binary operator expected
[ 14% ] : Prérequis : [0sec] : [ OK ]
[ 15% ] : Installation des packages nécessaires...
[ 19% ] : Installation des packages nécessaires : [3sec] : [ OK ]
[ 20% ] : Vérification du système...
[ 24% ] : Vérification du système : [0sec] : [ OK ]
[ 25% ] : Vérification de la version de NodeJS installée...
[Check Version NodeJS actuelle : v10.24.0 : [ KO ]
[ 29% ] : Vérification de la version de NodeJS installée : [0sec] : [ OK ]
[ 30% ] : Installation de NodeJS 14...
npm does not support Node.js v10.24.0
You should probably upgrade to a newer version of node as we
can't make any promises that npm will work with this version.
You can find the latest version at https://nodejs.org/
/usr/local/lib/node_modules/npm/lib/npm.js:32
#unloaded = false
^
SyntaxError: Invalid or unexpected token
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at module.exports (/usr/local/lib/node_modules/npm/lib/cli.js:22:15)
at Object.<anonymous> (/usr/local/lib/node_modules/npm/bin/npm-cli.js:2:25)
at Module._compile (internal/modules/cjs/loader.js:778:30)
Utilisation du dépot officiel
/var/www/html/plugins/alexaapi/resources/dependance.lib: line 92: warning: command substitution: ignored null byte in input
[Check Version NodeJS après install : v10.24.0 :
[ KO ] -> relancez les dépendances
npm does not support Node.js v10.24.0
You should probably upgrade to a newer version of node as we
can't make any promises that npm will work with this version.
You can find the latest version at https://nodejs.org/
/usr/local/lib/node_modules/npm/lib/npm.js:32
#unloaded = false
^
SyntaxError: Invalid or unexpected token
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at module.exports (/usr/local/lib/node_modules/npm/lib/cli.js:22:15)
at Object.<anonymous> (/usr/local/lib/node_modules/npm/bin/npm-cli.js:2:25)
at Module._compile (internal/modules/cjs/loader.js:778:30)
npm does not support Node.js v10.24.0
You should probably upgrade to a newer version of node as we
can't make any promises that npm will work with this version.
You can find the latest version at https://nodejs.org/
/usr/local/lib/node_modules/npm/lib/npm.js:32
#unloaded = false
^
SyntaxError: Invalid or unexpected token
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at module.exports (/usr/local/lib/node_modules/npm/lib/cli.js:22:15)
at Object.<anonymous> (/usr/local/lib/node_modules/npm/bin/npm-cli.js:2:25)
at Module._compile (internal/modules/cjs/loader.js:778:30)
npm does not support Node.js v10.24.0
You should probably upgrade to a newer version of node as we
can't make any promises that npm will work with this version.
You can find the latest version at https://nodejs.org/
/usr/local/lib/node_modules/npm/lib/npm.js:32
#unloaded = false
^
SyntaxError: Invalid or unexpected token
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at module.exports (/usr/local/lib/node_modules/npm/lib/cli.js:22:15)
at Object.<anonymous> (/usr/local/lib/node_modules/npm/bin/npm-cli.js:2:25)
at Module._compile (internal/modules/cjs/loader.js:778:30)
[Check Prefix : and sudo prefix : and www-data prefix : : [ KO ]
[ 44% ] : Installation de NodeJS 14 : [43sec] : [ERREUR]
[ 45% ] : Reset prefix (/usr/local) pour npm root...
npm does not support Node.js v10.24.0
You should probably upgrade to a newer version of node as we
can't make any promises that npm will work with this version.
You can find the latest version at https://nodejs.org/
/usr/local/lib/node_modules/npm/lib/npm.js:32
#unloaded = false
^
SyntaxError: Invalid or unexpected token
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at module.exports (/usr/local/lib/node_modules/npm/lib/cli.js:22:15)
at Object.<anonymous> (/usr/local/lib/node_modules/npm/bin/npm-cli.js:2:25)
at Module._compile (internal/modules/cjs/loader.js:778:30)
[ 49% ] : Reset prefix (/usr/local) pour npm root : [3sec] : [ OK ]
[ 50% ] : Nettoyage...
[ 59% ] : Nettoyage : [0sec] : [ OK ]
[ 60% ] : Nettoyage ancien modules...
[ 69% ] : Nettoyage ancien modules : [0sec] : [ OK ]
[ 70% ] : Installation des librairies, veuillez patienter svp...
[ 99% ] : Installation des librairies, veuillez patienter svp : [4sec] : [ERREUR]
[100% ] : Terminé !
======================================================================
== KO == Erreur d'Installation
======================================================================
== ANALYSE DES ERREURS...
== AUCUNE ERREUR CONNUE DÉTECTÉE
== Erreur à l'étape : Mise à jour APT et installation des packages nécessaires
== Ligne 22
== La commande `sudo apt-get update' pose problème
== Le code de retour est 100
== Le message d'erreur :
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://www.deb-multimedia.org buster InRelease
Hit:3 http://ftp.uk.debian.org/debian buster InRelease
Hit:4 http://ftp.uk.debian.org/debian buster-updates InRelease
Ign:5 https://oph.mdrjr.net/meveric all InRelease
Ign:6 https://oph.mdrjr.net/meveric buster InRelease
Err:7 https://oph.mdrjr.net/meveric all Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 216.155.132.189 443]
Err:8 https://oph.mdrjr.net/meveric buster Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 216.155.132.189 443]
Reading package lists...
E: The repository 'https://oph.mdrjr.net/meveric all Release' no longer has a Release file.
E: The repository 'https://oph.mdrjr.net/meveric buster Release' no longer has a Release file.
======================================================================
== Erreur à l'étape : Installation de NodeJS 14
== Ligne 139
== La commande `sudo -E bash -' pose problème
== Le code de retour est 1
== Le message d'erreur :
## Installing the NodeSource Node.js 14.x repo...
## Populating apt-get cache...
+ apt-get update
Hit:1 http://www.deb-multimedia.org buster InRelease
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Hit:3 http://ftp.uk.debian.org/debian buster InRelease
Hit:4 http://ftp.uk.debian.org/debian buster-updates InRelease
Ign:5 https://oph.mdrjr.net/meveric all InRelease
Ign:6 https://oph.mdrjr.net/meveric buster InRelease
Err:7 https://oph.mdrjr.net/meveric all Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 216.155.132.189 443]
Err:8 https://oph.mdrjr.net/meveric buster Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 216.155.132.189 443]
Reading package lists...
E: The repository 'https://oph.mdrjr.net/meveric all Release' no longer has a Release file.
E: The repository 'https://oph.mdrjr.net/meveric buster Release' no longer has a Release file.
Error executing command, exiting
======================================================================
== Erreur à l'étape : Installation des librairies, veuillez patienter svp
== Ligne 36
== La commande `sudo npm install --no-fund --no-package-lock --no-audit' pose problème
== Le code de retour est 1
== Le message d'erreur :
npm does not support Node.js v10.24.0
You should probably upgrade to a newer version of node as we
can't make any promises that npm will work with this version.
You can find the latest version at https://nodejs.org/
/usr/local/lib/node_modules/npm/lib/npm.js:32
#unloaded = false
^
SyntaxError: Invalid or unexpected token
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at module.exports (/usr/local/lib/node_modules/npm/lib/cli.js:22:15)
at Object.<anonymous> (/usr/local/lib/node_modules/npm/bin/npm-cli.js:2:25)
at Module._compile (internal/modules/cjs/loader.js:778:30)
======================================================================