Hmbown/CodeWhale · error · NonRetryableError
Checksum manifest is missing ${assetName}
Error message
Checksum manifest is missing ${assetName} What it means
Error "Checksum manifest is missing ${assetName}" thrown in Hmbown/CodeWhale.
Source
Thrown at npm/codewhale/scripts/install.js:998
}
const match = trimmed.match(/^([a-fA-F0-9]{64})\s+\*?(.+)$/);
if (!match) {
throw new Error(`Invalid checksum manifest line: ${trimmed}`);
}
checksums.set(match[2], match[1].toLowerCase());
}
return checksums;
}
async function sha256File(filePath) {
const content = await readFile(filePath);
return crypto.createHash("sha256").update(content).digest("hex");
}
async function verifyChecksum(filePath, assetName, checksums) {
const expected = checksums.get(assetName);
if (!expected) {
throw new NonRetryableError(`Checksum manifest is missing ${assetName}`);
}
const actual = await sha256File(filePath);
if (actual !== expected) {
// Bytes are corrupted; another fetch is unlikely to help without a fix
// upstream. Mark non-retryable.
throw new NonRetryableError(
`Checksum mismatch for ${assetName}: expected ${expected}, got ${actual}`,
);
}
}
async function checksumMatches(filePath, assetName, checksums) {
const expected = checksums.get(assetName);
if (!expected) {
throw new NonRetryableError(`Checksum manifest is missing ${assetName}`);
}
const actual = await sha256File(filePath);
return actual === expected;View on GitHub (pinned to 8880682c63)
When it happens
Trigger: Thrown at npm/codewhale/scripts/install.js:998 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Hmbown/CodeWhale@8880682c63 (2026-08-16).
Data as JSON: /api/errors/3dc671e6d73d9ec7.
Report an issue: GitHub.