{"record":{"id":"53cc317174214ddb","repo":"Hmbown/CodeWhale","slug":"codewhale-use-cnb-mirror-1-currently-supports-only","errorCode":null,"errorMessage":"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.","messagePattern":"CODEWHALE_USE_CNB_MIRROR=1 currently supports only Linux x64 \\(including OpenHarmony x64\\); detected (.+?) (.+?)\\. Use the GitHub Release or set CODEWHALE_RELEASE_BASE_URL to a complete mirror for this platform\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"npm/codewhale/scripts/artifacts.js","lineNumber":168,"sourceCode":"\nfunction usesCnbMirror(env = process.env) {\n  const hasExplicitBase = Boolean(\n    env.CODEWHALE_RELEASE_BASE_URL ||\n      env.DEEPSEEK_TUI_RELEASE_BASE_URL ||\n      env.DEEPSEEK_RELEASE_BASE_URL,\n  );\n  return !hasExplicitBase && Boolean(env.CODEWHALE_USE_CNB_MIRROR);\n}\n\nfunction assertCnbMirrorSupportedPlatform(\n  rawPlatform = os.platform(),\n  arch = os.arch(),\n) {\n  const platform = PLATFORM_ALIASES[rawPlatform] || rawPlatform;\n  if (platform === \"linux\" && arch === \"x64\") {\n    return;\n  }\n  throw new Error(\n    \"CODEWHALE_USE_CNB_MIRROR=1 currently supports only Linux x64 \" +\n      `(including OpenHarmony x64); detected ${rawPlatform} ${arch}. ` +\n      \"Use the GitHub Release or set CODEWHALE_RELEASE_BASE_URL to a \" +\n      \"complete mirror for this platform.\",\n  );\n}\n\nfunction releaseAssetUrl(baseName, version, repo = \"Hmbown/CodeWhale\") {\n  return new URL(baseName, releaseBaseUrl(version, repo)).toString();\n}\n\nfunction checksumManifestUrl(version, repo = \"Hmbown/CodeWhale\") {\n  return releaseAssetUrl(CHECKSUM_MANIFEST, version, repo);\n}\n\nfunction releaseBinaryDirectory() {\n  return path.join(__dirname, \"..\", \"bin\", \"downloads\");\n}","sourceCodeStart":150,"sourceCodeEnd":186,"githubUrl":"https://github.com/Hmbown/CodeWhale/blob/8880682c63083a91624de936797efa3ce9e498fd/npm/codewhale/scripts/artifacts.js#L150-L186","documentation":"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.","triggerScenarios":"Thrown at npm/codewhale/scripts/artifacts.js:168 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8880682c63083a91624de936797efa3ce9e498fd","analyzedAt":"2026-08-16T11:31:27.956Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}