From 1a3b7aec1d116c7369e8db0e2e4f551465675cbe Mon Sep 17 00:00:00 2001 From: Neko Nekowazarashi Date: Mon, 29 May 2023 19:56:54 +0700 Subject: [PATCH] perbaiki perintah npm --- scripts/change_url | 2 +- scripts/install | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 7054336..f36786b 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -44,7 +44,7 @@ ynh_script_progression --message="Rebuilding the app..." --weight=1 ynh_use_nodejs 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 build --prefix="$install_dir" +ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run build --prefix="$install_dir" #================================================= # GENERIC FINALISATION diff --git a/scripts/install b/scripts/install index eaee7b2..b29b4c6 100755 --- a/scripts/install +++ b/scripts/install @@ -59,7 +59,7 @@ ynh_install_nodejs --nodejs_version=18.16.0 ynh_use_nodejs 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 build --prefix="$install_dir" +ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run build --prefix="$install_dir" #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index aa334d6..f703b76 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -119,7 +119,7 @@ ynh_script_progression --message="Rebuilding the app..." --weight=1 ynh_use_nodejs 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 build --prefix="$install_dir" +ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run build --prefix="$install_dir" #================================================= # START SYSTEMD SERVICE