diff --git a/scripts/dev-install.sh b/scripts/dev-install.sh index 41d9f38f..5d468d06 100755 --- a/scripts/dev-install.sh +++ b/scripts/dev-install.sh @@ -90,6 +90,9 @@ echo "[i] Found tarball: $TARBALL" echo "[i] Installing globally with $PKG_MANAGER..." if [ "$PKG_MANAGER" = "bun" ]; then + # Remove existing to avoid duplicate key warnings in bun's global package.json + # (bun add -g appends instead of replacing file: protocol entries) + bun remove -g @kaitranntt/ccs 2>/dev/null || true # Bun requires file: protocol for local tarballs bun add -g "file:$(pwd)/$TARBALL" else