Skip to main content

Installation Issues

Command Not Found

Problem: kafkacode: command not found Solutions:

Permission Errors

Problem: EACCES: permission denied Solutions:

Scan Issues

No Files Found

Problem: “No source code files found to analyze” Check:
  1. Verify directory exists: ls -la /path/to/directory
  2. Check for supported file types: .py, .js, .ts, .java, .go, .rb, .php
  3. Check if files are gitignored
  4. Use verbose mode: kafkacode scan ./src --verbose

Slow Performance

Problem: Scan takes too long Solutions:

CI/CD Issues

Fails in CI but Works Locally

Check:
  1. Node.js version: Requires Node 14+
  2. File paths: Use absolute or relative paths consistently
  3. Exit codes: Check if CI expects specific exit codes
  4. Verbose mode in CI for debugging

GitHub Actions Timeout

False Positives

Test Data Flagged

Solution: Add comments or use clear naming:

Environment Variables Flagged

This shouldn’t happen, but if it does:

Getting Help

GitHub Issues

Report bugs or request features

Documentation

Review the docs

Email Support

Contact KafkaLabs support

Community

Join the community