From 4bc96c5d2ab46ff3ca1af1524c1913c2a5f2745c Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 11 Jun 2024 08:55:12 -0400 Subject: fix(npm): resolve dynamic npm imports individually (#24170) * https://github.com/denoland/deno_npm/pull/57 * https://github.com/denoland/deno_graph/pull/498 Closes https://github.com/denoland/deno/issues/17802 --- cli/module_loader.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'cli/module_loader.rs') diff --git a/cli/module_loader.rs b/cli/module_loader.rs index 5bcc22c06..1da3f1f2a 100644 --- a/cli/module_loader.rs +++ b/cli/module_loader.rs @@ -75,7 +75,6 @@ pub async fn load_top_level_deps(factory: &CliFactory) -> Result<(), AnyError> { let npm_resolver = factory.npm_resolver().await?; if let Some(npm_resolver) = npm_resolver.as_managed() { npm_resolver.ensure_top_level_package_json_install().await?; - npm_resolver.resolve_pending().await?; } // cache as many entries in the import map as we can if let Some(import_map) = factory.maybe_import_map().await? { -- cgit v1.2.3