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`. --- tests/integration/npm_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/integration/npm_tests.rs') diff --git a/tests/integration/npm_tests.rs b/tests/integration/npm_tests.rs index d75b87689..7f5145a42 100644 --- a/tests/integration/npm_tests.rs +++ b/tests/integration/npm_tests.rs @@ -2404,7 +2404,7 @@ fn byonm_package_specifier_not_installed_and_invalid_subpath() { // no npm install has been run, so this should give an informative error let output = test_context.new_command().args("run main.ts").run(); output.assert_matches_text( - r#"error: Could not resolve "chalk", but found it in a package.json. Deno expects the node_modules/ directory to be up to date. Did you forget to run `npm install`? + r#"error: Could not resolve "chalk", but found it in a package.json. Deno expects the node_modules/ directory to be up to date. Did you forget to run `deno install`? at file:///[WILDCARD]/main.ts:1:19 "#, ); -- cgit v1.2.3