Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion public/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,19 @@ install_node() {
brew link node@22 --overwrite --force 2>/dev/null || true
echo -e "${SUCCESS}✓${NC} Node.js installed"
elif [[ "$OS" == "linux" ]]; then
echo -e "${WARN}→${NC} Installing Node.js via NodeSource..."
echo -e "${WARN}→${NC} Installing build tools..."
require_sudo
if command -v apt-get &> /dev/null; then
maybe_sudo apt-get install -y build-essential cmake
elif command -v dnf &> /dev/null; then
maybe_sudo dnf groupinstall -y "Development Tools"
maybe_sudo dnf install -y gcc-c++ cmake
elif command -v yum &> /dev/null; then
maybe_sudo yum groupinstall -y "Development Tools"
maybe_sudo yum install -y gcc-c++ cmake
fi
echo -e "${SUCCESS}✓${NC} Build tools installed"
Copy link

@vercel vercel bot Feb 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Silent failure in build tools installation: if no package manager is detected, the script prints success message even though nothing was installed

Fix on Vercel

echo -e "${WARN}→${NC} Installing Node.js via NodeSource..."
if command -v apt-get &> /dev/null; then
local tmp
tmp="$(mktempfile)"
Expand Down