Skip to content

[Bug] macOS ARM64 Cloudflare workerd Platform Compatibility Issue #2

Description

@rosefinchzhang-svg

When deploying TradePilot via Docker on macOS (Apple Silicon/M1/M2/M3 - ARM64), there is a platform compatibility issue preventing the full frontend interface from starting.

Environment:

  • Operating System: macOS (Apple Silicon - ARM64)
  • Docker Version: Docker Desktop
  • TradePilot Version: Latest Docker version from GitHub
  • Issue Location: Dockerfile line 11 RUN npm run build

Details:
TradePilot's Dockerfile attempts to use Cloudflare's workerd binary to run serverless functions during the Next.js build process. However, the Dockerfile is configured for workerd-linux-arm64, but the actual runtime environment is macOS ARM64.

Specific Error:

Error: spawn /app/node_modules/@cloudflare/workerd-linux-arm64/bin/workerd ENOENT

This causes docker compose up -d tradepilot to fail because the build step at line 11 (RUN npm run build) exits with code 1 due to the missing workerd binary.

Current Status:

  • ✅ MoneyPrinterTurbo (AI Video Generator): Running normally at http://localhost:8080
  • ✅ Redis Database: Running normally at port 6379
  • ❌ TradePilot Full Dashboard Interface: Cannot start due to the above issue (expected port 3456)

Expected Solution:

  1. Official support for workerd-darwin-arm64, or
  2. Automatic platform detection in Dockerfile to use the correct workerd binary, or
  3. Release of pre-built Docker image supporting macOS ARM64

Note:
Although this issue prevents the full dashboard from being available, the MoneyPrinterTurbo video generator is working perfectly and meets the basic AI video needs. Looking forward to the team fixing this platform compatibility issue in a future version.

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions