Troubleshooting & FAQ
Solutions to common issues and frequently asked questions.
Installation Issues
ENOSPC: System limit for number of file watchers reached
Linux only — Increase the inotify file watcher limit:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
sharp module fails to install
Install platform-specific build tools:
# macOS
xcode-select --install
# Ubuntu/Debian
sudo apt install build-essential
# Windows
npm install -g windows-build-tools
EMFILE: too many open files
Increase file handle limits:
# Set UV threadpool size
export UV_THREADPOOL_SIZE=64
# macOS: Increase open file limit
ulimit -n 10240
Yarn install gets stuck or times out
# Clear yarn cache
yarn cache clean
# Try with a different registry
yarn install --registry https://registry.npmjs.org
Build Issues
TypeScript errors during build
# Ensure all packages are built first
yarn build:types
yarn build:constants
yarn build:services
yarn build:ui
yarn build:hooks
yarn build:utils
# Then build the web app
yarn build:web
Module not found errors
Ensure dependencies are installed and packages built:
yarn install
yarn build
Bundle size is too large
Enable the bundle analyzer:
ANALYZE=true yarn build:web
Runtime Issues
API connection errors
- Check API URL — Verify
GAUZY_API_SERVER_URLandNEXT_PUBLIC_GAUZY_API_SERVER_URLin.env - Check API health — Visit
https://api.ever.team/api/health - Check CORS — Ensure your domain is allowed
- Check network — Verify internet connectivity
Login fails with "Invalid credentials"
- Check API URL — Make sure the API endpoint is correct
- Clear cookies — Browser cookies may be stale
- Check email — Verify the registration was completed
Timer doesn't start or stop
- Check API connection — Timer requires a working API
- Select a task — A task must be selected before starting
- Check permissions — Ensure you have timer permissions
- Browser console — Check for JavaScript errors
Internationalization not working
- Check locale code — Ensure
[locale]matches a supported language code - Check translation files — Verify JSON files exist in
apps/web/locales/ - Clear cache — Clear
.nextcache and rebuild
Docker Issues
docker-compose up fails
- Docker version — Ensure Docker Compose >= v2.20
- Port conflicts — Check ports 3030, 3000, 5432, 6379 are free
- Memory — Docker needs at minimum 4GB RAM allocated
Container keeps restarting
# Check container logs
docker-compose logs webapp
docker-compose logs api
# Check health status
docker ps --format "table {{.Names}}\t{{.Status}}"
Desktop App Issues
Build fails on Windows
- Enable Developer Mode — Required for symbolic links
- Set
USE_HARD_LINKS=false— Prevents file deduplication issues - Increase memory — Set
NODE_OPTIONS=--max-old-space-size=12288
macOS notarization fails
Ensure Apple ID credentials are configured:
APPLE_ID— Apple Developer IDAPPLE_ID_APP_PASSWORD— App-specific passwordCSC_LINK— Code signing certificate