{"record":{"id":"9ea30967272914d2","repo":"cube-js/cube","slug":"you-are-using-process-env-platform-on-arm64-whi","errorCode":null,"errorMessage":"You are using ${process.env} platform on arm64 which is not supported by Cube Store","messagePattern":"You are using (.+?) platform on arm64 which is not supported by Cube Store","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"rust/cubestore/js-wrapper/src/utils.ts","lineNumber":34,"sourceCode":"        );\n    }\n  }\n\n  if (process.arch === 'arm64') {\n    switch (process.platform) {\n      case 'linux':\n        switch (detectLibc()) {\n          case 'gnu':\n            return 'aarch64-unknown-linux-gnu';\n          default:\n            throw new Error(\n              `You are using ${process.env} platform on arm64 with MUSL as standard library which is not supported by Cube Store, please use libc (GNU)`,\n            );\n        }\n      case 'darwin':\n        return 'aarch64-apple-darwin';\n      default:\n        throw new Error(\n          `You are using ${process.env} platform on arm64 which is not supported by Cube Store`,\n        );\n    }\n  }\n\n  throw new Error(\n    `You are using ${process.arch} architecture on ${process.platform} platform which is not supported by Cube Store`,\n  );\n}\n\nexport function isCubeStoreSupported(): boolean {\n  if (process.arch === 'x64') {\n    return ['win32', 'darwin', 'linux'].includes(process.platform);\n  }\n\n  if (process.arch === 'arm64') {\n    if (process.platform === 'darwin') {\n      return true;","sourceCodeStart":16,"sourceCodeEnd":52,"githubUrl":"https://github.com/cube-js/cube/blob/7d981676b36392fec34088b9afab6bdcad40207c/rust/cubestore/js-wrapper/src/utils.ts#L16-L52","documentation":"In getTarget (rust/cubestore/js-wrapper/src/utils.ts:34), arm64 is supported only on Linux-GNU and macOS (darwin). Any other arm64 platform throws this error because no prebuilt Cube Store binary exists for it. The message interpolates ${process.env} by mistake instead of ${process.platform}.","triggerScenarios":"process.arch === 'arm64' and process.platform is neither 'linux' nor 'darwin' when the wrapper resolves the Cube Store binary target.","commonSituations":"Running Cube on Windows-on-ARM, FreeBSD/arm64, or unusual emulated arm64 environments reporting a non-standard platform string.","solutions":["Move the workload to a supported platform: macOS arm64, Linux arm64 (GNU), or x64 on win32/linux/darwin","Run Cube Store as a standalone service on a supported host and connect remotely","Build Cube Store from source on your platform and supply it via CUBEJS_CUBE_STORE_BINARY_PATH"],"exampleFix":null,"handlingStrategy":"validation","validationCode":"const supported = (process.arch === 'x64' && ['win32','linux','darwin'].includes(process.platform))\n  || (process.arch === 'arm64' && ['linux','darwin'].includes(process.platform));\nif (!supported) throw new Error(`Cube Store unsupported: ${process.arch}/${process.platform}`);","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Verify arch/platform in CI before deploying Cube with local Cube Store","Use remote Cube Store on a supported host for exotic platforms","Run a startup platform check instead of discovering the failure at binary-resolution time"],"tags":["platform","arm64","native-binary","unsupported-platform"],"backgroundTag":"unsupported-platform-libc","analyzedSha":"7d981676b36392fec34088b9afab6bdcad40207c","analyzedAt":"2026-09-02T03:45:10.400Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T15:18:49.778Z"}