Troubleshooting
Common issues and their solutions for the monorepo.
Guide
This page will be updated as common issues are reported by users.
If you encounter a problem, please check our GitHub Issues or open a new discussion. We will add solutions for frequently reported problems here to help the community.
Note: If you see the same error as others, let us know! The more reports we get, the faster we can improve this guide.
Command Not Found
If you get a "command not found" error:
# For pnpm users, try:
npm install -g pnpm
pnpm dlx build-elevate@latest init
# For npm users:
npx build-elevate@latest init
# For bun users:
bunx build-elevate@latest initInstallation Fails
If the installation fails:
- Check your Node.js version
node --version # Must be v20 or higher- Clear package manager cache
pnpm store prune- Try with verbose logging
pnpm dlx build-elevate@latest init --verbosePort Already in Use
If you see an error like "Port 3000 is already in use":
# Find what's using the port
lsof -i :3000
# Kill the process
kill -9 <PID>
# Or use a different port
PORT=3001 pnpm dev --filter=webAuthentication Not Working
If you can't sign in:
- Verify
BETTER_AUTH_SECRETis the same inapps/api/.env.localandapps/web/.env.local - Check
ALLOWED_ORIGINSinapps/api/.env.localmatches your web app URL - Clear cookies and try again