This guide covers the most common issues when installing AgentForge's Electron frontend dependencies.
This is the most common issue. The terminal appears stuck after a few lines of output, with no error message.
npm install in taskboard-electron/ triggers two heavy operations:
- Electron binary download — Electron 40 is ~100MB, downloaded from GitHub releases. This is the most common culprit, especially in China or on slow connections.
- Native module compilation — Some packages use
node-gypto compile C++ code. This requires build tools and can silently stall if they are missing.
If this is your first install, give it 3–5 minutes. The download may still be in progress with no visible output.
Open a second terminal while npm install is running:
# Check if node is actively doing network I/O
lsof -p $(pgrep -f "node.*npm") 2>/dev/null | grep -i net- If you see active connections → it's downloading, just slow. Use the mirror fix below.
- If nothing → it may be stuck on native compilation. See the build tools section.
Set mirrors before installing:
# npm registry mirror
npm config set registry https://registry.npmmirror.com
# Electron binary mirror (critical — this is what usually hangs)
export ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/
cd taskboard-electron
npm installTo make the Electron mirror permanent:
# Add to ~/.npmrc
echo 'electron_mirror=https://npmmirror.com/mirrors/electron/' >> ~/.npmrcUse a VPN, or set a custom Electron mirror:
export ELECTRON_MIRROR=https://github.com/electron/electron/releases/download/
cd taskboard-electron
npm installIf a previous interrupted install left corrupted cache:
cd taskboard-electron
rm -rf node_modules
rm -f package-lock.json
npm cache clean --force
npm installSome packages require platform-specific compilers. Install them before running npm install.
xcode-select --installIf Xcode is already installed but node-gyp still fails:
sudo xcode-select --switch /Library/Developer/CommandLineToolssudo apt-get install build-essential python3Run in an Administrator PowerShell:
npm install --global windows-build-toolsOr install manually:
- Visual Studio Build Tools with "Desktop development with C++" workload
- Python 3.x (add to PATH)
AgentForge requires Node.js 18 or later. Check your version:
node -v # Should be v18.x or higher
npm -v # Should be 9.x or higherIf outdated, install the latest LTS from nodejs.org or use a version manager:
# Using nvm
nvm install --lts
nvm use --ltscd taskboard-electron
# Clean everything
rm -rf node_modules .vite
rm -f package-lock.json
# Set mirrors
npm config set registry https://registry.npmmirror.com
echo 'electron_mirror=https://npmmirror.com/mirrors/electron/' >> ~/.npmrc
# Reinstall
npm cache clean --force
npm installAfter npm install completes, confirm Electron was downloaded:
ls taskboard-electron/node_modules/electron/dist/
# Should show: Electron.app (macOS) or electron.exe (Windows) or electron (Linux)Then start the app:
cd taskboard-electron
npm startCollect this information when reporting an issue:
node -v
npm -v
uname -a # macOS/Linux
npm config get registry
cat ~/.npmrcOpen an issue at: https://github.com/anthropics/agentforge/issues