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:
parent
3e4825fe4f
commit
b37d64ba19
2 changed files with 3 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
# COMMON VARIABLES
|
# COMMON VARIABLES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
nodejs_version=20
|
nodejs_version=18
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# PERSONAL HELPERS
|
# PERSONAL HELPERS
|
||||||
|
|
|
@ -118,7 +118,8 @@ ynh_secure_remove --file="$install_dir/build_ldap"
|
||||||
|
|
||||||
pushd "$install_dir/live"
|
pushd "$install_dir/live"
|
||||||
ynh_use_nodejs
|
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
|
npm ci
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue