1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/photoprism_ynh.git synced 2024-09-03 19:56:41 +02:00

Revert "Trying to move npm"

This reverts commit 8446523fbf.
This commit is contained in:
Limezy 2022-06-09 00:59:46 +07:00
parent 8446523fbf
commit 45222fd180
2 changed files with 1 additions and 3 deletions

View file

@ -10,7 +10,7 @@ PHOTOPRISM_VERSION="220528-efb5d710"
NODEJS_VERSION=14 NODEJS_VERSION=14
GO_VERSION="1.18" 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 # PERSONAL HELPERS

View file

@ -147,8 +147,6 @@ pushd "$final_path"
# Setup tensorflow library # Setup tensorflow library
./scripts/dist/install-tensorflow.sh ./scripts/dist/install-tensorflow.sh
# Setup node environment # Setup node environment
ynh_use_nodejs
apt install npm
export NODE_OPTIONS=--max_old_space_size=1024 export NODE_OPTIONS=--max_old_space_size=1024
# Build server from source # Build server from source
ynh_secure_remove --file="$final_path/build" ynh_secure_remove --file="$final_path/build"