diff --git a/ct/nginxproxymanager.sh b/ct/nginxproxymanager.sh index 476989bbf..30fba232a 100644 --- a/ct/nginxproxymanager.sh +++ b/ct/nginxproxymanager.sh @@ -140,9 +140,9 @@ function update_script() { msg_info "Building Frontend" cd ./frontend - pnpm install &>/dev/null - pnpm upgrade &>/dev/null - pnpm run build &>/dev/null + yarn cache clean --silent --force &>/dev/null + yarn install --silent --network-timeout=30000 &>/dev/null + yarn build &>/dev/null cp -r dist/* /app/frontend cp -r app-images/* /app/frontend/images msg_ok "Built Frontend" diff --git a/install/nginxproxymanager-install.sh b/install/nginxproxymanager-install.sh index 27639f1af..8cc4777dd 100644 --- a/install/nginxproxymanager-install.sh +++ b/install/nginxproxymanager-install.sh @@ -141,9 +141,9 @@ msg_ok "Set up Enviroment" msg_info "Building Frontend" cd ./frontend -$STD pnpm install -$STD pnpm upgrade -$STD pnpm run build +$STD yarn cache clean --silent --force +$STD yarn install --silent --network-timeout=30000 +$STD yarn build cp -r dist/* /app/frontend cp -r app-images/* /app/frontend/images msg_ok "Built Frontend"