1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/overleaf_ynh.git synced 2024-09-03 19:56:27 +02:00

fix nodejs version

This commit is contained in:
Thomas 2023-11-19 19:08:04 +01:00 committed by GitHub
parent 3e4825fe4f
commit b37d64ba19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES
#=================================================
nodejs_version=20
nodejs_version=18
#=================================================
# PERSONAL HELPERS

View file

@ -118,7 +118,8 @@ ynh_secure_remove --file="$install_dir/build_ldap"
pushd "$install_dir/live"
ynh_use_nodejs
ynh_exec_warn_less $ynh_npm install -g sandboxed-module@latest
ynh_exec_warn_less $ynh_npm install -g npm@7.24.2
ynh_exec_warn_less $ynh_npm install sandboxed-module@latest
npm ci
popd