From 0b073dc451e3511f6e5c1764446b5b35fe5d31ac Mon Sep 17 00:00:00 2001 From: Yann MAHE Date: Thu, 13 Nov 2025 16:44:53 -0500 Subject: [PATCH] update --- niteshift-setup.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/niteshift-setup.sh b/niteshift-setup.sh index 6c072afc..1bccce08 100755 --- a/niteshift-setup.sh +++ b/niteshift-setup.sh @@ -77,7 +77,17 @@ if [[ "$USE_PREBAKED_SETUP" -eq 0 ]]; then fi log "✓ Dependencies installed" else - log "Skipping pnpm install (prebaked dependencies in place)" + log "Linking dependencies from prebaked pnpm store..." + if pnpm install --frozen-lockfile --offline; then + log "✓ Dependencies installed (offline)" + else + log_error "Offline install failed, falling back to full pnpm install" + if ! pnpm install --frozen-lockfile; then + log_error "Failed to install dependencies even after fallback" + exit 1 + fi + log "✓ Dependencies installed via fallback" + fi fi # 5. Build only what's needed for dev (skip production Next.js build)