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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user