From d9eda02b467d948a79b8fd0c28251657d5a39aa7 Mon Sep 17 00:00:00 2001 From: Neko Nekowazarashi Date: Mon, 29 May 2023 21:45:53 +0700 Subject: [PATCH] memperbaiki skrip pemasangan --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 33fc2a7..0a5b487 100755 --- a/scripts/install +++ b/scripts/install @@ -13,7 +13,8 @@ source /usr/share/yunohost/helpers # STARTING NODEJS #================================================= -ynh_use_nodejs +ynh_install_nodejs --nodejs_version=$nodejs_version +yng_use_nodejs #================================================= # APP "BUILD" (DEPLOYING SOURCES, VENV, COMPILING ETC) @@ -72,7 +73,6 @@ echo "module.exports = { basePath: '$next_path', };" >> "$install_dir/next.confi #================================================= ynh_script_progression --message="Building the app..." --weight=1 -ynh_install_nodejs --nodejs_version=18.16.0 ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install --prefix="$install_dir" npx next telemetry disable ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run build --prefix="$install_dir"