Skip to content
Merged
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
17 changes: 9 additions & 8 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ make help
```bash
# Build frontend
cd frontend
npm install
npm ci
npm run build
cd ..

Expand Down Expand Up @@ -127,12 +127,12 @@ make build-windows-arm64
## Build Requirements

### For Server + Frontend
- **Go 1.25+** - Backend compilation
- **Node.js 18+** - Frontend build
- **npm** - Package management
- **Go 1.27.0** - Exact version declared in `go.mod`
- **Node.js 24.18.0** - Exact version pinned in `.nvmrc` and `frontend/package.json`
- **npm 11.16.0** - Exact version pinned in `frontend/package.json`

### For WS Client Only
- **Go 1.25+** - Client compilation only
- **Go 1.27.0** - Exact version declared in `go.mod`

### For Cross-Compilation (release.sh)
- **Docker + Buildx** - Multi-arch Docker images
Expand Down Expand Up @@ -171,10 +171,11 @@ Production builds use these Go build flags:

### Frontend Build Issues
```bash
# Clear npm cache and reinstall
# Reinstall exactly from the lockfile
cd frontend
rm -rf node_modules package-lock.json
npm install
rm -rf node_modules
npm cache verify
npm ci
npm run build
```

Expand Down
Loading