Skip to content

Build failed?

Learn how to diagnose and fix common build failures.

When a build fails, check the build logs for error messages.

Symptoms:

ERROR: Could not find a version that satisfies the requirement

Solutions:

  • Check package name spelling
  • Specify version: package==1.0.0
  • Use compatible Python version

Symptoms:

ModuleNotFoundError: No module named 'xxx'

Solutions:

  • Add missing package to requirements.txt
  • Check package installation name

Symptoms:

SyntaxError: invalid syntax

Solutions:

  • Check Python version compatibility
  • Verify code syntax
  • Test locally first

Symptoms:

FileNotFoundError: [Errno 2] No such file or directory

Solutions:

  • Check file paths
  • Ensure files are uploaded
  • Use relative paths

Symptoms:

MemoryError / JavaScript heap out of memory

Solutions:

  • Reduce dependencies
  • Split into smaller packages

Navigate to Worker details → Builds → View logs

Look for keywords:

  • ERROR
  • Failed
  • Exception
  1. Make necessary changes
  2. Upload new code
  3. Trigger new build
IssuePrevention
DependencyPin versions in requirements
SyntaxTest locally before uploading
File pathsUse relative paths
MemoryMinimize dependencies