diff --git a/scripts/install b/scripts/install index 6abc758..32e8c99 100755 --- a/scripts/install +++ b/scripts/install @@ -117,7 +117,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Building $app... (this will take some time and resources!)" --weight=20 -pushd $final_path/server +pushd $final_path ynh_use_nodejs ynh_exec_as $app env $ynh_node_load_PATH npm install --unsafe-perm 2>/dev/null popd