diff --git a/scripts/install b/scripts/install index dbd9adb..68be4b5 100644 --- a/scripts/install +++ b/scripts/install @@ -126,8 +126,8 @@ sudo chown admin -R $install_log pushd $final_path ynh_replace_string "port: 8000" "$port" "$final_path/src/server/config.js" ynh_use_nodejs -NODE_ENV=production npm install >> $install_log 2>&1 -NODE_ENV=production npm run build +npm install >> $install_log 2>&1 +NODE_ENV=production npm run build >> $install_log 2>&1 popd #=================================================