ozzieO
Denoβ€’12mo ago
ozzie

`npm workspace`'s support with Deno v2

I am trying to follow the tutorial of using Deno Workspaces w/ npm workspaces https://docs.deno.com/runtime/fundamentals/workspaces/#migrating-from-npm-workspaces

If I copy all the code and then run deno check main.ts, I get the following error:

error: Failed resolving types. [ERR_TYPES_NOT_FOUND] Could not find types for 'file://log/index.js' imported from 'file://hi/mod.ts'


If I try todo
deno install
, it also cannot find my local npm dependency.

Is this a known limitation?
Deno
In-depth documentation, guides, and reference materials for building secure, high-performance JavaScript and TypeScript applications with Deno
Workspaces and monorepos
Was this page helpful?