From 8446523fbf3dfe17a3eeb7b3dd854c3e358a9e4d Mon Sep 17 00:00:00 2001 From: Limezy Date: Thu, 9 Jun 2022 00:57:58 +0700 Subject: [PATCH] Trying to move npm --- scripts/_common.sh | 2 +- scripts/install | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index e658eb2..061b880 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -10,7 +10,7 @@ PHOTOPRISM_VERSION="220528-efb5d710" NODEJS_VERSION=14 GO_VERSION="1.18" -pkg_dependencies="libc6-dev libssl-dev libxft-dev libhdf5-serial-dev libpng-dev libheif-examples librsvg2-bin libx264-dev libx265-dev libnss3 libfreetype6 libfreetype6-dev libfontconfig1 libfontconfig1-dev libzmq3-dev npm" +pkg_dependencies="libc6-dev libssl-dev libxft-dev libhdf5-serial-dev libpng-dev libheif-examples librsvg2-bin libx264-dev libx265-dev libnss3 libfreetype6 libfreetype6-dev libfontconfig1 libfontconfig1-dev libzmq3-dev" #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index 6bd7a95..ef8f18e 100755 --- a/scripts/install +++ b/scripts/install @@ -147,6 +147,8 @@ pushd "$final_path" # Setup tensorflow library ./scripts/dist/install-tensorflow.sh # Setup node environment + ynh_use_nodejs + apt install npm export NODE_OPTIONS=--max_old_space_size=1024 # Build server from source ynh_secure_remove --file="$final_path/build"