From 3dba98532a3054e4e74bb1b3304e4cb809d284dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 28 Aug 2024 03:31:41 +0100 Subject: fix: replace `npm install` hint with `deno install` hint (#25244) Needed for https://github.com/denoland/deno/pull/25213. With Deno 2, we should suggest using `deno install` instead of `npm install`. --- cli/npm/byonm.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'cli/npm') diff --git a/cli/npm/byonm.rs b/cli/npm/byonm.rs index a0f23fc66..e62650d8a 100644 --- a/cli/npm/byonm.rs +++ b/cli/npm/byonm.rs @@ -307,14 +307,9 @@ impl CliNpmResolver for ByonmCliNpmResolver { concat!( "Could not find \"{}\" in a node_modules folder. ", "Deno expects the node_modules/ directory to be up to date. ", - "Did you forget to run `{}`?" + "Did you forget to run `deno install`?" ), alias, - if *crate::args::DENO_FUTURE { - "deno install" - } else { - "npm install" - } ); } -- cgit v1.2.3