From fb2c47df7a1b407167937a64fd4cfce57d0b0890 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 3 Feb 2019 06:09:23 +0100 Subject: [PATCH] Fix install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 23b594a..e7246c2 100644 --- a/scripts/install +++ b/scripts/install @@ -190,7 +190,7 @@ 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 --save --production + sudo -u $app env PATH=$PATH:$nodejs_path yarn add hoek@^4.2.1 --save --production sudo -u $app env PATH=$PATH:$nodejs_path yarn add ts-node --save --production sudo -u $app env PATH=$PATH:$nodejs_path yarn install --production popd