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