Hmbown/CodeWhale · error · Error
CODEWHALE_USE_CNB_MIRROR=1 currently supports only Linux x64
Error message
CODEWHALE_USE_CNB_MIRROR=1 currently supports only Linux x64 (including OpenHarmony x64); detected ${rawPlatform} ${arch}. Use the GitHub Release or set CODEWHALE_RELEASE_BASE_URL to a complete mirror for this platform. What it means
Error "CODEWHALE_USE_CNB_MIRROR=1 currently supports only Linux x64 (including OpenHarmony x64); detected ${rawPlatform} ${arch}. Use the GitHub Release or set CODEWHALE_RELEASE_BASE_URL to a complete mirror for this platform." thrown in Hmbown/CodeWhale.
Source
Thrown at npm/codewhale/scripts/artifacts.js:168
function usesCnbMirror(env = process.env) {
const hasExplicitBase = Boolean(
env.CODEWHALE_RELEASE_BASE_URL ||
env.DEEPSEEK_TUI_RELEASE_BASE_URL ||
env.DEEPSEEK_RELEASE_BASE_URL,
);
return !hasExplicitBase && Boolean(env.CODEWHALE_USE_CNB_MIRROR);
}
function assertCnbMirrorSupportedPlatform(
rawPlatform = os.platform(),
arch = os.arch(),
) {
const platform = PLATFORM_ALIASES[rawPlatform] || rawPlatform;
if (platform === "linux" && arch === "x64") {
return;
}
throw new Error(
"CODEWHALE_USE_CNB_MIRROR=1 currently supports only Linux x64 " +
`(including OpenHarmony x64); detected ${rawPlatform} ${arch}. ` +
"Use the GitHub Release or set CODEWHALE_RELEASE_BASE_URL to a " +
"complete mirror for this platform.",
);
}
function releaseAssetUrl(baseName, version, repo = "Hmbown/CodeWhale") {
return new URL(baseName, releaseBaseUrl(version, repo)).toString();
}
function checksumManifestUrl(version, repo = "Hmbown/CodeWhale") {
return releaseAssetUrl(CHECKSUM_MANIFEST, version, repo);
}
function releaseBinaryDirectory() {
return path.join(__dirname, "..", "bin", "downloads");
}View on GitHub (pinned to 8880682c63)
When it happens
Trigger: Thrown at npm/codewhale/scripts/artifacts.js:168 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/53cc317174214ddb.
Report an issue: GitHub.