From 45222fd18072e75f4f788f2349dab8c9e399dedc Mon Sep 17 00:00:00 2001 From: Limezy Date: Thu, 9 Jun 2022 00:59:46 +0700 Subject: [PATCH] Revert "Trying to move npm" This reverts commit 8446523fbf3dfe17a3eeb7b3dd854c3e358a9e4d. --- scripts/_common.sh | 2 +- scripts/install | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 061b880..e658eb2 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" +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" #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index ef8f18e..6bd7a95 100755 --- a/scripts/install +++ b/scripts/install @@ -147,8 +147,6 @@ 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"