From 6a902b6f8e95b81245e69c475196bc3376750ec0 Mon Sep 17 00:00:00 2001 From: lapineige Date: Mon, 26 Jun 2023 08:53:38 +0200 Subject: [PATCH] npm: not global install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 76a553c..e310e2c 100755 --- a/scripts/install +++ b/scripts/install @@ -27,7 +27,7 @@ chown -R $app:www-data "$install_dir" pushd "$install_dir" ynh_use_nodejs - ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$install_dir/config" NODE_ENV=production $ynh_npm install -g @peertube/peertube-runner + ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$install_dir/config" NODE_ENV=production $ynh_npm install @peertube/peertube-runner popd #=================================================