Installation HedgeDoc 1.9.8~ynh2 - nodejs

Matériel: Raspberry Pi 4 autohebergé
Version de YunoHost: 11.1.22 (stable)
J’ai accès à mon serveur : En SSH | Par la webadmin |
Êtes-vous dans un contexte particulier ou avez-vous effectué des modifications particulières sur votre instance ? : non
Si oui, expliquer:
**Si votre requête est liée à une application, précisez son nom et sa version:installation Hedge

Description du problème

Bonjour,

Lors de l’installation de HedgeDoc 1.9.8~ynh2, celle-ci plante au moment de la vérification de Nodejs.

On retrouve l’erreur dans le YunoPaste

2023-07-12 08:20:10,226: DEBUG - ERROR: npm v9.5.1 is known not to run on Node.js v12.22.12. You'll need to
2023-07-12 08:20:10,226: DEBUG - upgrade to a newer Node.js version in order to use this version of npm. This
2023-07-12 08:20:10,227: DEBUG - version of npm supports the following node versions: `^14.17.0 || ^16.13.0 ||
2023-07-12 08:20:10,227: DEBUG - >=18.0.0`. You can find the latest version at https://nodejs.org/.

Lorsque je lance une mise à jour de Nodejs, j’ai ce retour :
nodejs is already the newest version (12.22.12~dfsg-1~deb11u4)

Comment puis-je faire pour résoudre ce problème ?

Weeeell that’s very much weird … especially since this happens after explicitly trying to install node 18.x, so why would it complain that it doesnt run on Nodejs 12.x

Or could it be that somehow you manually deleted /opt/node_n/bin/node ?

And then the install continues anyway but explodes with another mystical error … x_x

Salut Aleks,

Merci pour ce retour… Effectivement, je trouve très bizarre moi aussi. x_x

Je confirme que /opt/node_n/bin/node est bien présent et n’a pas été supprimé. :thinking:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.