ozzie
ozzie4w ago

`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'
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
Workspaces and monorepos
In-depth documentation, guides, and reference materials for building secure, high-performance JavaScript and TypeScript applications with Deno
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?