Skip to content

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

@alita-moore

Description

@alita-moore

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 | -

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions