denoland/deno · error
no pinned SHA-256 for {archive} in cli/laufey_sums.lock (reg
Error message
no pinned SHA-256 for {archive} in cli/laufey_sums.lock (regenerate when bumping LAUFEY_VERSION to v{LAUFEY_VERSION}; laufey v{LAUFEY_VERSION} release may not include backend '{backend}' for target '{target}') What it means
Error "no pinned SHA-256 for {archive} in cli/laufey_sums.lock (regenerate when bumping LAUFEY_VERSION to v{LAUFEY_VERSION}; laufey v{LAUFEY_VERSION} release may not include backend '{backend}' for target '{target}')" thrown in denoland/deno.
Source
Thrown at cli/tools/desktop.rs:1927
target: &str,
) -> Result<PathBuf, AnyError> {
let dir = self.backend_cache_dir(backend, target);
let marker = dir.join(".downloaded");
if marker.exists() {
return Ok(dir);
}
let archive = laufey_archive_name(backend, target);
let client = self.http_client_provider.get_or_create()?;
// Use the in-tree pinned digests rather than fetching SHA256SUMS from the
// release page. The latter is unsigned, so trusting it would let anyone
// who can write to the laufey release host swap both archive and sums
// together (TOFU). The lock file is reviewed in PRs when LAUFEY_VERSION
// bumps, so this is the trust anchor. That the lock file's pinned version
// matches LAUFEY_VERSION is asserted at build time (see cli/build.rs).
let expected = parse_sha256sum(LAUFEY_PINNED_SUMS, &archive).ok_or_else(|| {
deno_core::anyhow::anyhow!(
"no pinned SHA-256 for {archive} in cli/laufey_sums.lock \
(regenerate when bumping LAUFEY_VERSION to v{LAUFEY_VERSION}; \
laufey v{LAUFEY_VERSION} release may not include backend '{backend}' for target '{target}')"
)
})?;
log::info!(
"{} laufey {} backend for {} (v{})",
colors::green("Downloading"),
backend,
target,
LAUFEY_VERSION,
);
let url = Url::parse(&laufey_release_url(&archive))?;
let progress_bar = ProgressBar::new(ProgressBarStyle::DownloadBars);
let progress = progress_bar.update(&archive);
// Send a real User-Agent — some CDNs (incl. parts of GitHubView on GitHub (pinned to 89f33cbef2)
When it happens
Trigger: Thrown at cli/tools/desktop.rs:1927 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of denoland/deno@89f33cbef2 (2026-08-16).
Data as JSON: /api/errors/851b508fe0ae7ebd.
Report an issue: GitHub.