1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-11 01:58:05 -05:00
denoland-deno/cli/npm
Nathan Whitaker a750314e04
fix(install): don't re-set up node_modules if running lifecycle script (#26984)
Fixes https://github.com/denoland/deno/issues/26904

If using `nodeModulesDir: "auto"`, it's possible for the lifecycle
script subprocess to try to set up the node_modules dir (despite the
fact that we're already doing that). If it does that, it hangs trying to
acquire the file lock on the node_modules dir.

As a fix, don't try to set up node_modules if we're running as part of a
lifecycle script.

Ideally we'd have better control over when we do and don't set up
node_modules automatically (that's the underlying problem behind #25782
as well)
2024-11-26 15:29:46 -08:00
..
managed fix(install): don't re-set up node_modules if running lifecycle script (#26984) 2024-11-26 15:29:46 -08:00
byonm.rs refactor(resolver): move more resolution code into deno_resolver (#26873) 2024-11-14 15:24:25 -05:00
common.rs fix(npm): match npm bearer token generation (#26544) 2024-10-28 12:08:51 +01:00
mod.rs refactor(resolver): move more resolution code into deno_resolver (#26873) 2024-11-14 15:24:25 -05:00