Current Issue: The build requires Node.js >= 22.12.0, but your system has Node.js v20.20.2.
Step 1: Download and install Node.js 22.x or later
- Download from: https://nodejs.org/
- Or use nvm (Node Version Manager):
nvm install 22
Step 2: Verify the upgrade
node --version # Should show v22.x.x or higherStep 3: Rebuild dependencies
cd "C:\Users\User\Desktop\Development Projects\Strategia-Enhanced-App\Team-X"
pnpm installStep 4: Build the installer
pnpm run dist:winIf you have nvm installed:
# Install Node 22
nvm install 22
# Use Node 22
nvm use 22
# Verify
node --version
# Then build
cd "C:\Users\User\Desktop\Development Projects\Strategia-Enhanced-App\Team-X"
pnpm install
pnpm run dist:winOnce Node.js version is compatible, use these commands:
cd "C:\Users\User\Desktop\Development Projects\Strategia-Enhanced-App\Team-X"
pnpm run dist:winOutput:
dist/Team-X Setup 2.0.1.exe(Windows installer)- One-click installer for your users
pnpm run dist:macOutput:
dist/Team-X-2.0.1.dmg(macOS disk image)dist/Team-X-2.0.1-arm64.dmg(Apple Silicon)
pnpm run dist:linuxOutput:
- AppImage, deb, and rpm packages for various Linux distributions
pnpm run devOutput: Runs the app in development mode with hot reload
The installer includes:
- ✅ Team-X Desktop App v2.0.1 with all new Skills & MCP features
- ✅ 32 Built-in Capabilities (20 skills + 12 MCP templates)
- ✅ Skills Marketplace with 20 pre-loaded skills
- ✅ MCP Marketplace with 12 pre-configured templates
- ✅ Simplified Permissions with 3 safety presets
- ✅ Proactive Execution Foundation (from earlier work)
- ✅ Auto-update support for future versions
Windows:
- Installs to:
C:\Users\<username>\AppData\Local\Programs\team-x-desktop - Desktop shortcut created automatically
- Start Menu entry added
User Data Location:
- Windows:
C:\Users\<username>\AppData\Roaming\team-x-desktop - macOS:
~/Library/Application Support/team-x-desktop - Linux:
~/.config/team-x-desktop
Issue 1: "Cannot find module 'electron-vite'"
# Solution: Install dependencies
pnpm installIssue 2: "Node version incompatible"
# Solution: Upgrade Node.js to 22.x or later
node --version # Must be >= 22.12.0Issue 3: "Electron rebuild failed"
# Solution: Clean install
rm -rf node_modules
rm pnpm-lock.yaml
pnpm installIssue 4: Build succeeds but app won't start
# Check logs in:
# Windows: %APPDATA%\team-x-desktop\logs
# Or run with: npm run devThe build process uses:
- electron-vite: Builds and bundles the Electron app
- electron-builder: Creates platform-specific installers
- electron-rebuild: Rebuilds native modules (better-sqlite3, keytar)
- App Version: 2.0.1
- Electron Version: (defined in package.json)
- Node.js Requirement: >= 22.12.0
- Platform: Windows 11 (Primary), macOS, Linux (Phase 4)
After building, verify the installer:
- File Size: Installer should be 150-250 MB
- Installation: Test install on clean Windows machine
- New Features: Verify Skills Marketplace, MCP Marketplace, and Simplified Permissions are visible
- Capabilities: Test that built-in skills and MCPs are available
- Permissions: Verify Standard permission mode is selected by default
To publish installers (not included in --publish never):
# For GitHub Releases or distribution
pnpm run dist:publishFor build issues:
- Check Node.js version:
node --version - Check pnpm version:
pnpm --version - Check available disk space:
dir - Review build logs in terminal output
Current Blocker: Node.js v20.20.2 < Required v22.12.0
Solution: Upgrade Node.js to 22.x or later, then run build commands.
Expected Result: Team-X Desktop v2.0.1 installer with all new Skills & MCP features ready for distribution.
Once Node.js is upgraded, the build process should complete successfully and you'll have a working installer to deploy!