deno monorepo support does not support using dependencies in workspace packages

Open
#4,550 6 comments 0 reactions 1 assignee View on GitHub

@7ttp is already working on this.

Since Jun 27, 2026.

Assessment

This issue has not been assessed yet.

Description

✨ Feature supabase/cli

I am getting the following error

Relative import path "axios" not prefixed with / or ./ or ../ and not in import map from "file:///Users/alitamoore/workspaces/monorepo/libs/core/dist/src/errors/core.d.ts"

when running an edge function locally. The dependency is imported in a workspace package into the function. That worksapce package has dependencies. The workspace package is defined using package.json. This workflow is supported by deno, however, supabase does not interpret the package.json of the workspace package.

Yet the package.json has the necessary dependencies defined, but the system seems to require that it be a deno.json. To work around it I need to manually insert the dependencies in the deno.json even though I'm just duplicating the dependencies between package.json and deno.json.

Dominant language
TypeScript
Stars
2.4k
Forks
523
Avg merge
21h 33m
Merged PRs (30d)
258

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from supabase/cli

All issues in supabase/cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.