Common Errors
Authentication Errors
No API key found
No API key found
Invalid API key
Invalid API key
- Key was revoked
- Key was copied incorrectly
- Extra spaces in key
- Verify you copied the complete key
- Remove any extra spaces
- Generate new key via email method:
OTP not received
OTP not received
- Check spam/junk folder
- Wait 5 minutes (can be delayed)
- Try again with
lua auth configure - Use API Key method if available
Project Initialization Errors
No lua.skill.yaml found
No lua.skill.yaml found
- Navigate to your skill directory:
- Or initialize a new project:
Directory not empty
Directory not empty
lua init requires an empty directory.Solution:Permission denied
Permission denied
- Check directory permissions
- Don’t use sudo (creates permission issues later)
- Use a directory you own:
Compilation Errors
No index.ts found
No index.ts found
src/index.ts:TypeScript compilation error
TypeScript compilation error
Cannot find module
Cannot find module
Tool name invalid
Tool name invalid
Version Management Errors
Version already exists
Version already exists
lua.skill.yaml (this is the only field you should manually edit):Version mismatch
Version mismatch
Sync Errors
Drift detected during compile
Drift detected during compile
- Interactive: Choose to update local from server or keep local
- Auto-sync: Use
lua compile --force-syncto automatically update local - Skip: Use
lua compile --no-syncto ignore drift (your next push will overwrite server)
No persona in local code
No persona in local code
LuaAgent configuration is missing or has an empty name.Solutions:- Ensure your
src/index.tshas a valid LuaAgent: - Check for TypeScript compilation errors
Network error during sync
Network error during sync
- Check internet connection
- Verify API key is valid:
lua auth key - Try again:
lua sync
Dev Mode Errors
Port already in use
Port already in use
- Stop the other process
- Or kill process on port 3000:
Skill not found in sandbox
Skill not found in sandbox
Changes not reflected in chat
Changes not reflected in chat
- Verify file is in
src/directory - Check file is actually saved
- Ensure you selected “Sandbox” mode in
lua chat - Check for compilation errors
- Try again:
Deployment Errors
No versions available
No versions available
Deploy failed
Deploy failed
- Check API key is valid
- Verify you have deploy permissions
- Check network connection
- Try again - might be temporary server issue
Platform-Specific Issues
macOS
Keychain access denied
Keychain access denied
- System Preferences → Security & Privacy
- Privacy → Automation
- Enable Terminal for Keychain Access
- Restart terminal
Command not found: lua
Command not found: lua
- Reinstall globally:
- Or use npx:
Windows
PowerShell execution policy
PowerShell execution policy
Path too long
Path too long
ENAMETOOLONGSolution: Use shorter directory paths:Linux
libsecret not found
libsecret not found
EACCES: permission denied
EACCES: permission denied
Node.js Issues
Node version too old
Node version too old
- Visit https://nodejs.org
- Download LTS version
- Or use nvm:
npm WARN deprecated
npm WARN deprecated
Dependency conflicts
Dependency conflicts
Network Issues
Connection timeout
Connection timeout
ETIMEDOUT or ECONNREFUSEDSolutions:- Check internet connection
- Check if behind firewall/proxy
- Try again - might be temporary
- Check server status
SSL certificate error
SSL certificate error
UNABLE_TO_VERIFY_LEAF_SIGNATURESolutions:- Check system date/time is correct
- Update CA certificates
- If behind corporate proxy, may need proxy config
Corporate proxy
Corporate proxy
Environment Variable Issues
Variable not found
Variable not found
env('MY_VAR') returns undefinedSolutions:- Check spelling in
.envfile: - Ensure
.envis in project root - Restart command (variables loaded at startup)
- Check
lua.skill.yaml:
Changes not taking effect
Changes not taking effect
.env but changes not visibleSolution: Restart the CLI command:Getting Help
Diagnostic Information
When reporting issues, include:Support Channels
Discord Community
Documentation
Email Support
Prevention Tips
Keep CLI Updated
Keep CLI Updated
Commit lua.skill.yaml
Commit lua.skill.yaml
lua.skill.yaml to git:Don't Commit .env
Don't Commit .env
.gitignore:Test Before Deploy
Test Before Deploy
Still Having Issues?
If your issue isn’t covered here:- Ask on Discord: Get real-time help from the community
- Email Support: For urgent issues or account problems

