From 7a6f60f8eaad6721b08c83a627b68b8ac5f48701 Mon Sep 17 00:00:00 2001 From: anmol26s <5068843+anmol26s@users.noreply.github.com> Date: Wed, 4 Apr 2018 11:27:35 +0530 Subject: [PATCH] Nodejs should be installed before yarn(install) --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 8d57fdb..a08cdc3 100644 --- a/scripts/install +++ b/scripts/install @@ -87,6 +87,9 @@ mkdir -p "$datadir" # INSTALL DEPENDENCIES #================================================= +# install nodejs +ynh_install_nodejs 8 + # install yarn wget https://github.com/yarnpkg/yarn/releases/download/v1.5.1/yarn_1.5.1_all.deb echo "a4770cd8dcb13dc9a9218940dbd24b510ddf5eec78adb4e0da9ef3760b55a76e yarn_1.5.1_all.deb" | sha256sum -c || ynh_die @@ -99,9 +102,6 @@ ynh_package_update # install postgresql, ffmpeg, redis ynh_install_app_dependencies postgresql-9.4 ffmpeg redis-server redis-tools -# install nodejs -ynh_install_nodejs 8 - #================================================= # DATABASE SETUP #=================================================