installer: build with devDependencies (npm ci --include=dev)

Fixes the tsc-not-found build error when NODE_ENV=production omits build tooling.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Scarriffle
2026-06-02 21:10:00 +02:00
parent e570390902
commit a4ef9d4ba8

View File

@@ -43,7 +43,9 @@ fi
echo "==> Building"
cd "$INSTALL_DIR"
npm ci
# Build tooling (TypeScript/Vite) lives in devDependencies, so install those even when
# NODE_ENV=production is set in the environment.
npm ci --include=dev
npm run build
echo "==> Writing systemd unit /etc/systemd/system/$SERVICE.service"