Projet

Général

Profil

Actions

Anomalie #4596

fermé

npm WARN no such file or directory '/var/www/etherpad-lite-1.8.4/package.json'

Ajouté par Christian P. Momon il y a plus de 4 ans. Mis à jour il y a environ 4 ans.

Statut:
Fermé
Priorité:
Normale
Assigné à:
Début:
14/07/2020
Echéance:
% réalisé:

0%

Temps estimé:

Description

En installant un nouveau plugin (ici horizontal_line) via l'interface web, journalctl -f -u etherpad-lite.service retourne :

juil. 14 01:17:01 pad.cluster.chapril.org run.sh[29881]: npm WARN saveError ENOENT: no such file or directory, open '/var/www/etherpad-lite-1.8.4/package.json'
juil. 14 01:17:01 pad.cluster.chapril.org run.sh[29881]: npm WARN enoent ENOENT: no such file or directory, open '/var/www/etherpad-lite-1.8.4/package.json'
juil. 14 01:17:01 pad.cluster.chapril.org run.sh[29881]: npm WARN ep_table_of_contents@0.2.0 requires a peer of ep_headings2@* but none is installed. You must install peer dependencies yourself.
juil. 14 01:17:01 pad.cluster.chapril.org run.sh[29881]: npm WARN etherpad-lite-1.8.4 No description
juil. 14 01:17:01 pad.cluster.chapril.org run.sh[29881]: npm WARN etherpad-lite-1.8.4 No repository field.
juil. 14 01:17:01 pad.cluster.chapril.org run.sh[29881]: npm WARN etherpad-lite-1.8.4 No README data
juil. 14 01:17:01 pad.cluster.chapril.org run.sh[29881]: npm WARN etherpad-lite-1.8.4 No license field.
juil. 14 01:17:01 pad.cluster.chapril.org run.sh[29881]: [2020-07-14 01:17:01.719] [ERROR] console - 
juil. 14 01:17:02 pad.cluster.chapril.org run.sh[29881]: [2020-07-14 01:17:02.242] [INFO] console - + ep_horizontal_line@0.0.4
juil. 14 01:17:02 pad.cluster.chapril.org run.sh[29881]: added 1 package from 1 contributor and audited 954 packages in 6.033s
juil. 14 01:17:02 pad.cluster.chapril.org run.sh[29881]: [2020-07-14 01:17:02.596] [INFO] console - 
juil. 14 01:17:02 pad.cluster.chapril.org run.sh[29881]: 26 packages are looking for funding
juil. 14 01:17:02 pad.cluster.chapril.org run.sh[29881]:   run `npm fund` for details
juil. 14 01:17:02 pad.cluster.chapril.org run.sh[29881]: [2020-07-14 01:17:02.597] [INFO] console - found 25 vulnerabilities (23 low, 2 critical)
juil. 14 01:17:02 pad.cluster.chapril.org run.sh[29881]:   run `npm audit fix` to fix them, or `npm audit` for details
juil. 14 01:17:03 pad.cluster.chapril.org run.sh[29881]: [2020-07-14 01:17:03.076] [ERROR] console - Failed to load '/var/www/etherpad-lite-1.8.4/node_modules/ep_better_pdf_export/export.js' for 'ep_better_pdf_export/ep_better_pdf_export/hooks/exportConvert': Error: Cannot find module './node_modules/html-pdf'
juil. 14 01:17:03 pad.cluster.chapril.org run.sh[29881]: [2020-07-14 01:17:03.078] [INFO] console - Restarting express server

Demande : traiter le npm warn packages.json

Actions

Formats disponibles : Atom PDF