From 42cff4ea618ef2fd9623bb61d642b122d871dd59 Mon Sep 17 00:00:00 2001 From: anmol26s <5068843+anmol26s@users.noreply.github.com> Date: Wed, 4 Apr 2018 11:29:01 +0530 Subject: [PATCH] Nodejs should be installed before yarn(upgrade) --- scripts/upgrade | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index a6ec8e6..1ede0e7 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -79,6 +79,9 @@ ynh_system_user_create "$app" # 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 @@ -91,9 +94,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 - #================================================= # CHECK THE PATH #=================================================