-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update hint for
deno add <package>
(#25455)
Follow up to #25430
- Loading branch information
1 parent
2c4d99a
commit 5dc907d
Showing
6 changed files
with
27 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/specs/cache/with_bare_import/095_cache_with_bare_import.ts.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[WILDCARD]error: Relative import path "foo" not prefixed with / or ./ or ../ | ||
hint: If you want to use a JSR or npm package, try running `deno add foo` | ||
hint: If you want to use a JSR or npm package, try running `deno add jsr:foo` or `deno add npm:foo` | ||
at file:///[WILDCARD]/095_cache_with_bare_import.ts:[WILDCARD] |
2 changes: 1 addition & 1 deletion
2
tests/specs/check/with_bare_import/095_cache_with_bare_import.ts.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[WILDCARD]error: Relative import path "foo" not prefixed with / or ./ or ../ | ||
hint: If you want to use a JSR or npm package, try running `deno add foo` | ||
hint: If you want to use a JSR or npm package, try running `deno add jsr:foo` or `deno add npm:foo` | ||
at file:///[WILDCARD]/095_cache_with_bare_import.ts:[WILDCARD] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
error: Relative import path "@std/dotenv/load" not prefixed with / or ./ or ../ | ||
hint: If you want to use a JSR or npm package, try running `deno add @std/dotenv/load` | ||
hint: If you want to use a JSR or npm package, try running `deno add jsr:@std/dotenv/load` or `deno add npm:@std/dotenv/load` | ||
at [WILDCARD]bare_specifier_without_import/main.ts:1:8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[WILDCARD]error: Failed resolving types. Relative import path "baz" not prefixed with / or ./ or ../ | ||
hint: If you want to use a JSR or npm package, try running `deno add baz` | ||
hint: If you want to use a JSR or npm package, try running `deno add jsr:baz` or `deno add npm:baz` | ||
at [WILDCARD]/type_definitions/bar.d.ts:[WILDCARD] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[WILDCARD]Config file found at '[WILDCARD]with_package_json[WILDCARD]with_stop[WILDCARD]some[WILDCARD]nested[WILDCARD]deno.json' | ||
[WILDCARD] | ||
error: Relative import path "chalk" not prefixed with / or ./ or ../ | ||
hint: If you want to use a JSR or npm package, try running `deno add chalk` | ||
hint: If you want to use a JSR or npm package, try running `deno add jsr:chalk` or `deno add npm:chalk` | ||
at file:///[WILDCARD]with_package_json/with_stop/some/nested/dir/main.ts:3:19 |