cli icon indicating copy to clipboard operation
cli copied to clipboard

edge function runtime should treat package.json for local workspaces as config file

Open alita-moore opened this issue 2 months ago • 0 comments

Describe the bug edge functions claim Could not find config file for workspace member when there is no deno.json for a local workspace package that's not deno. Deno treats the package.json as the config file, but the runtime does not.

To Reproduce create a function, define a workspace / monorepo package with package.json. Import workspace package into function. Try and run the edge runtime.

Expected behavior the edge runtime should run

System information Rerun the failing command with --create-ticket flag.

  • Version of CLI: 2.63.1
  • Version of Docker: 28.5.1
  • Versions of services: SERVICE IMAGE | LOCAL | LINKED ------------------------|------------------------|-------- supabase/postgres | 17.6.1.054 | -
    supabase/gotrue | v2.183.0 | -
    postgrest/postgrest | v13.0.7 | -
    supabase/realtime | v2.65.3 | -
    supabase/storage-api | v1.32.0 | -
    supabase/edge-runtime | v1.69.25 | -
    supabase/studio | 2025.11.25-sha-8de52c4 | -
    supabase/postgres-meta | v0.93.1 | -
    supabase/logflare | 1.26.13 | -
    supabase/supavisor | 2.7.4 | -

alita-moore avatar Nov 29 '25 06:11 alita-moore