Installation overleaf failed, npm WARN deprecated

My YunoHost server

Hardware: VPS bought online
YunoHost version: 11.1.20
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If your request is related to an app, specify its name and version: overleaf 2022.04.23~ynh1

Description of my issue

Hi everyone,

I have tried to install overleaf 2022.04.23~ynh1 on my server trough the webadmin and I’m having a lot of npm errors: https://paste.yunohost.org/raw/guwakukezi
I’ve updated node and npm, but I’m still getting theses errors.

2023-06-03 16:20:53,576: WARNING - npm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
2023-06-03 16:21:18,926: DEBUG - 
2023-06-03 16:21:18,926: DEBUG - added 2805 packages, and audited 2838 packages in 2m
2023-06-03 16:21:18,926: DEBUG - 
2023-06-03 16:21:18,927: DEBUG - 202 packages are looking for funding
2023-06-03 16:21:18,927: DEBUG -   run `npm fund` for details
2023-06-03 16:21:19,061: DEBUG - 
2023-06-03 16:21:19,062: DEBUG - 93 vulnerabilities (1 low, 28 moderate, 42 high, 22 critical)
2023-06-03 16:21:19,062: DEBUG - 
2023-06-03 16:21:19,062: DEBUG - To address issues that do not require attention, run:
2023-06-03 16:21:19,062: DEBUG -   npm audit fix

I’ve tried everything I found on the internet, including this post https://forum.yunohost.org/t/unable-to-install-npm/3855/5

Would someone have an idea?

Many thanks :heart:


Description du problème

Bonjour à toutes et à tous,

J’ai tenté d’installer overleaf via la webadmin, mais j’obtiens ces erreurs de npm https://paste.yunohost.org/raw/guwakukezi
J’ai mis à jour node et npm, mais rien n’y fait, je continue d’avoir les mêmes erreurs:

2023-06-03 16:20:53,576: WARNING - npm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
2023-06-03 16:21:18,926: DEBUG - 
2023-06-03 16:21:18,926: DEBUG - added 2805 packages, and audited 2838 packages in 2m
2023-06-03 16:21:18,926: DEBUG - 
2023-06-03 16:21:18,927: DEBUG - 202 packages are looking for funding
2023-06-03 16:21:18,927: DEBUG -   run `npm fund` for details
2023-06-03 16:21:19,061: DEBUG - 
2023-06-03 16:21:19,062: DEBUG - 93 vulnerabilities (1 low, 28 moderate, 42 high, 22 critical)
2023-06-03 16:21:19,062: DEBUG - 
2023-06-03 16:21:19,062: DEBUG - To address issues that do not require attention, run:
2023-06-03 16:21:19,062: DEBUG -   npm audit fix

J’ai essayé pas mal de solutions proposées sur le web, dont celle-ci du forum https://forum.yunohost.org/t/unable-to-install-npm/3855/5 mais rien n’y fait… Est-ce que quelqu’un aurait une idée?

Merci beaucoup!! :heart:

node -v
v18.16.0
npm -v
9.5.1

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