#!/usr/bin/env bash set -euo pipefail if ! command -v npm >/dev/null 2>&1; then echo "Node/npm is required but was not found in PATH." >&2 echo "Please install Node.js 18+ and ensure npm is available." >&2 exit 1 fi cd "$(dirname "$0")/../frontend" npm install