diff --git a/scripts/install b/scripts/install index 0785a12..f404ce4 100755 --- a/scripts/install +++ b/scripts/install @@ -52,9 +52,9 @@ yunohost service add $app --description="Monitoring tool" --log="/var/log/$app/$ ynh_script_progression --message="Installing $app dependencies..." --weight=7 pushd "$install_dir" - ynh_use_nodejs - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install --production - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run download-dist +ynh_use_nodejs +ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install --omit=dev +ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run download-dist popd #=================================================