Unable to import between deno workspace members #27938
Labels
needs investigation
requires further investigation before determining if it is an issue or not
workspaces
Version: Deno 2.1.9
First of all, I really appreciate the effort you put in Deno! I think it is an awesome project, and I hope you will have a lot of success with it.
I'm planning to move/migrate my next project from node to Deno, so I have started to recreate my original project setup. Unfortunately, I ran into a problem with importing between Deno workspace members:
I have two member projects
common
anddb
. Projectcommon
contains utility function and types that I share between other member projects, for example generating ananoid()
.When I try to import
nanoid()
, from thecommon
project, everything seems fine in the VSCode, the Deno LSP easily finds the references, but when I try to execute any commands it fails with amodule not found
error.I created a git repo to easily reproduce the bug: https://github.com/nagyatka/deno-drizzle-workspace-issue
output:
The text was updated successfully, but these errors were encountered: