mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
fix: adjust suggestion for lockfile regeneration (#25107)
Ref https://github.com/denoland/deno/pull/24436#issuecomment-2288568645
This commit is contained in:
parent
0704454755
commit
1f47248143
20 changed files with 23 additions and 23 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -1869,9 +1869,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "deno_npm"
|
||||
version = "0.23.0"
|
||||
version = "0.23.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ceef28152643a021fc3487a3ec93ae83996972c087547d97f425c83e15dca932"
|
||||
checksum = "96d72068f4292455d48ac3b90c644ebf3150fb78c26a480cfb235a9642afe95c"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-trait",
|
||||
|
|
|
@ -72,7 +72,7 @@ deno_emit = "=0.44.0"
|
|||
deno_graph = { version = "=0.81.2" }
|
||||
deno_lint = { version = "=0.63.1", features = ["docs"] }
|
||||
deno_lockfile.workspace = true
|
||||
deno_npm = "=0.23.0"
|
||||
deno_npm = "=0.23.1"
|
||||
deno_package_json.workspace = true
|
||||
deno_runtime = { workspace = true, features = ["include_js_files_for_snapshotting"] }
|
||||
deno_semver = "=0.5.10"
|
||||
|
|
|
@ -803,7 +803,7 @@ fn enhanced_lockfile_error_message(err: &ModuleError) -> Option<String> {
|
|||
"This could be caused by:\n",
|
||||
" * the lock file may be corrupt\n",
|
||||
" * the source itself may be corrupt\n\n",
|
||||
"Use the --lock-write flag to regenerate the lockfile or --reload to reload the source code from the server."
|
||||
"Investigate the lockfile; delete it to regenerate the lockfile or --reload to reload the source code from the server."
|
||||
),
|
||||
package_nv,
|
||||
checksum_err.actual,
|
||||
|
@ -824,7 +824,7 @@ fn enhanced_lockfile_error_message(err: &ModuleError) -> Option<String> {
|
|||
"This could be caused by:\n",
|
||||
" * the lock file may be corrupt\n",
|
||||
" * the source itself may be corrupt\n\n",
|
||||
"Use the --lock-write flag to regenerate the lockfile or --reload to reload the source code from the server."
|
||||
"Investigate the lockfile; delete it to regenerate the lockfile or --reload to reload the source code from the server."
|
||||
),
|
||||
specifier,
|
||||
checksum_err.actual,
|
||||
|
|
|
@ -282,7 +282,7 @@ This could be caused by:
|
|||
* the lock file may be corrupt
|
||||
* the source itself may be corrupt
|
||||
|
||||
Use the --lock-write flag to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
Investigate the lockfile; delete it to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
", actual_integrity);
|
||||
test_context
|
||||
.new_command()
|
||||
|
|
|
@ -1200,7 +1200,7 @@ fn lock_file_missing_top_level_package() {
|
|||
"error: failed reading lockfile 'deno.lock'\n",
|
||||
"\n",
|
||||
"Caused by:\n",
|
||||
" 0: The lockfile is corrupt. You can recreate it with --lock-write\n",
|
||||
" 0: The lockfile is corrupt. Remove the lockfile to regenerate it.\n",
|
||||
" 1: Could not find 'cowsay@1.5.0' in the list of packages.\n"
|
||||
)
|
||||
);
|
||||
|
@ -1483,7 +1483,7 @@ This could be caused by:
|
|||
* the lock file may be corrupt
|
||||
* the source itself may be corrupt
|
||||
|
||||
Use the --lock-write flag to regenerate the lockfile at "[WILDCARD]deno.lock".
|
||||
Investigate the lockfile; delete it to regenerate the lockfile at "[WILDCARD]deno.lock".
|
||||
"#)
|
||||
.assert_exit_code(10);
|
||||
}
|
||||
|
|
|
@ -9,4 +9,4 @@ This could be caused by:
|
|||
* the lock file may be corrupt
|
||||
* the source itself may be corrupt
|
||||
|
||||
Use the --lock-write flag to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
Investigate the lockfile; delete it to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
error: Integrity check failed for package: "npm:@denotest/esm-basic@1.0.0".[WILDCARD]
|
||||
Use the --lock-write flag to regenerate the lockfile at [WILDCARD]
|
||||
Investigate the lockfile; delete it to regenerate the lockfile at [WILDCARD]
|
|
@ -10,4 +10,4 @@ This could be caused by:
|
|||
* the lock file may be corrupt
|
||||
* the source itself may be corrupt
|
||||
|
||||
Use the --lock-write flag to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
Investigate the lockfile; delete it to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
|
|
|
@ -9,4 +9,4 @@ This could be caused by:
|
|||
* the lock file may be corrupt
|
||||
* the source itself may be corrupt
|
||||
|
||||
Use the --lock-write flag to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
Investigate the lockfile; delete it to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
|
|
|
@ -8,4 +8,4 @@ This could be caused by:
|
|||
* the lock file may be corrupt
|
||||
* the source itself may be corrupt
|
||||
|
||||
Use the --lock-write flag to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
Investigate the lockfile; delete it to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
|
|
|
@ -8,4 +8,4 @@ This could be caused by:
|
|||
* the lock file may be corrupt
|
||||
* the source itself may be corrupt
|
||||
|
||||
Use the --lock-write flag to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
Investigate the lockfile; delete it to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
|
|
|
@ -8,4 +8,4 @@ This could be caused by:
|
|||
* the lock file may be corrupt
|
||||
* the source itself may be corrupt
|
||||
|
||||
Use the --lock-write flag to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
Investigate the lockfile; delete it to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
|
|
|
@ -8,4 +8,4 @@ This could be caused by:
|
|||
* the lock file may be corrupt
|
||||
* the source itself may be corrupt
|
||||
|
||||
Use the --lock-write flag to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
Investigate the lockfile; delete it to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
|
|
|
@ -8,4 +8,4 @@ This could be caused by:
|
|||
* the lock file may be corrupt
|
||||
* the source itself may be corrupt
|
||||
|
||||
Use the --lock-write flag to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
Investigate the lockfile; delete it to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
|
|
|
@ -9,4 +9,4 @@ This could be caused by:
|
|||
* the lock file may be corrupt
|
||||
* the source itself may be corrupt
|
||||
|
||||
Use the --lock-write flag to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
Investigate the lockfile; delete it to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
|
|
|
@ -8,4 +8,4 @@ This could be caused by:
|
|||
* the lock file may be corrupt
|
||||
* the source itself may be corrupt
|
||||
|
||||
Use the --lock-write flag to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
Investigate the lockfile; delete it to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
|
|
|
@ -8,4 +8,4 @@ This could be caused by:
|
|||
* the lock file may be corrupt
|
||||
* the source itself may be corrupt
|
||||
|
||||
Use the --lock-write flag to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
Investigate the lockfile; delete it to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
|
|
|
@ -9,4 +9,4 @@ This could be caused by:
|
|||
* the lock file may be corrupt
|
||||
* the source itself may be corrupt
|
||||
|
||||
Use the --lock-write flag to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
Investigate the lockfile; delete it to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
|
|
|
@ -9,4 +9,4 @@ This could be caused by:
|
|||
* the lock file may be corrupt
|
||||
* the source itself may be corrupt
|
||||
|
||||
Use the --lock-write flag to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
Investigate the lockfile; delete it to regenerate the lockfile or --reload to reload the source code from the server.
|
||||
|
|
|
@ -9,4 +9,4 @@ This could be caused by:
|
|||
* the lock file may be corrupt
|
||||
* the source itself may be corrupt
|
||||
|
||||
Use the --lock-write flag to regenerate the lockfile at "[WILDCARD]lock.json".
|
||||
Investigate the lockfile; delete it to regenerate the lockfile at "[WILDCARD]lock.json".
|
||||
|
|
Loading…
Reference in a new issue