From 13c6783ff1ef42439efb7415e5e8559efcc3fa83 Mon Sep 17 00:00:00 2001 From: Limezy Date: Sat, 4 Jun 2022 01:27:52 +0700 Subject: [PATCH] Add npm --- scripts/install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index b6f4db7..781e7b1 100755 --- a/scripts/install +++ b/scripts/install @@ -129,6 +129,9 @@ ynh_add_nginx_config pushd "$final_path" git init + # Setup nodejs and npm + ynh_use_nodejs + ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install 2>&1 # Setup go exe and environnement ynh_use_go export GOPATH="$final_path/go"