From c4d75ae09155c77c549a6623f5d29004f146522f Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 3 Feb 2019 02:39:17 +0100 Subject: [PATCH] add --save --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 86da27c..58f63c7 100644 --- a/scripts/install +++ b/scripts/install @@ -187,8 +187,8 @@ mkdir -p "$final_path/db" chown -R "$app":"$app" "$final_path" pushd $final_path ynh_use_nodejs - sudo -u $app env PATH=$PATH:$nodejs_path npm install hoek@^4.2.1 --production - sudo -u $app env PATH=$PATH:$nodejs_path npm install ts-node --production + sudo -u $app env PATH=$PATH:$nodejs_path npm install hoek@^4.2.1 --save --production + sudo -u $app env PATH=$PATH:$nodejs_path npm install ts-node --save --production sudo -u $app env PATH=$PATH:$nodejs_path npm install --production sudo -u $app env PATH=$PATH:$nodejs_path npm audit fix popd