Nodejs should be installed before yarn(install)
This commit is contained in:
parent
efac0c7383
commit
7a6f60f8ea
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue