mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 18:17:48 -05:00
a750314e04
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) |
||
---|---|---|
.. | ||
cache | ||
resolvers | ||
mod.rs | ||
registry.rs | ||
resolution.rs |