Installation Issues
Command Not Found
Problem:kafkacode: command not found
Solutions:
Solution 1: Use npx
Solution 1: Use npx
Solution 2: Check Installation
Solution 2: Check Installation
Solution 3: Fix PATH
Solution 3: Fix PATH
Permission Errors
Problem:EACCES: permission denied
Solutions:
Solution 1: Use npx (Recommended)
Solution 1: Use npx (Recommended)
Solution 2: Fix npm Permissions
Solution 2: Fix npm Permissions
Solution 3: Use nvm
Solution 3: Use nvm
Scan Issues
No Files Found
Problem: “No source code files found to analyze” Check:- Verify directory exists:
ls -la /path/to/directory - Check for supported file types:
.py,.js,.ts,.java,.go,.rb,.php - Check if files are gitignored
- Use verbose mode:
kafkacode scan ./src --verbose
Slow Performance
Problem: Scan takes too long Solutions:Scan Specific Directories
Scan Specific Directories
Add to .gitignore
Add to .gitignore
Exclude Large Directories
Exclude Large Directories
CI/CD Issues
Fails in CI but Works Locally
Check:- Node.js version: Requires Node 14+
- File paths: Use absolute or relative paths consistently
- Exit codes: Check if CI expects specific exit codes
- Verbose mode in CI for debugging

