deno install
(deno_npm::resolution) is very slow when creating lock file
#28517
Labels
deno install
(deno_npm::resolution) is very slow when creating lock file
#28517
Hi,
When using
deno install
to create (or update) thedeno.lock
, thedeno_npm::resolution
step is really slow (e.g. compared topnpm
) for resolving peer dependencies.I'm trying to add
deno
into a monorepo at Microsoft with ~3000 packages, but I'm unable to create thedeno.lock
file, due to the resolution being too slow. I've kept thedeno install
running continuously for >24 hours without luck.Smaller repro
I've added a small repository for reproduction.
I'm doing
deno install
andpnpm install
without a lock file.repo: https://github.com/ansemb/deno-install-peer-deps
deno install
: 712.49 secondspnpm install
: 90,76 secondslogs
Adding a sample of the debug for
deno install
. It keeps going graph resolution for the majority of the time.deno -L trace install
:❯ deno --version
deno 2.2.4 (stable, release, aarch64-apple-darwin)
v8 13.4.114.11-rusty
typescript 5.7.3
The text was updated successfully, but these errors were encountered: