Bonjour,
Je remarque que j’ai un packet NOK dans le gestionnaire. C’est npm. Quand je clique sur corriger cela ne résout pas le problème, j’ai le log suivant :
0000|+ sudo apt update
0001|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0002|Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
0003|Hit:2 http://deb.debian.org/debian buster InRelease
0004|Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
0005|Hit:4 https://deb.nodesource.com/node_16.x buster InRelease
0006|Fetched 117 kB in 0s (283 kB/s)
0007|Reading package lists...
0008|Building dependency tree...
0009|Reading state information...
0010|All packages are up to date.
0011|+ cd /var/www/html/core/class/../../plugins/gsh/resources/gshd
0012|+ rm -rf node_modules
0013|+ sudo npm install
0014|npm WARN old lockfile
0015|npm WARN old lockfile The package-lock.json file was created with an old version of npm,
0016|npm WARN old lockfile so supplemental metadata must be fetched from the registry.
0017|npm WARN old lockfile
0018|npm WARN old lockfile This is a one-time fix-up, please be patient...
0019|npm WARN old lockfile
0020|added 65 packages, and audited 66 packages in 2s
0021|3 vulnerabilities (1 moderate, 2 high)
0022|To address all issues, run:
0023|npm audit fix
0024|Run `npm audit` for details.
0025|npm notice
0026|npm notice New minor version of npm available! 8.11.0 -> 8.12.1
0027|npm notice Changelog:
0028|npm notice Run `npm install -g npm@8.12.1` to update!
0029|npm notice
0030|+ chown -R www-data:www-data gshd.js node_modules package-lock.json package.json server.ts tsconfig.json tslint.json types.d.ts
cela ne semble pas avoir d’impacte sur le fonctionnement du systeme.