chroma-core/chroma · error · Error

Unsupported architecture on macOS: ${arch}

Error message

Unsupported architecture on macOS: ${arch}

What it means

Error "Unsupported architecture on macOS: ${arch}" thrown in chroma-core/chroma.

Source

Thrown at clients/new-js/packages/chromadb/src/bindings.ts:16

import { createRequire } from "module";
import os from "os";

const require = createRequire(import.meta.url);
const platform = os.platform();
const arch = os.arch();

let binding: any;

if (platform === "darwin") {
  if (arch === "arm64") {
    binding = require("chromadb-js-bindings-darwin-arm64");
  } else if (arch === "x64") {
    binding = require("chromadb-js-bindings-darwin-x64");
  } else {
    throw new Error(`Unsupported architecture on macOS: ${arch}`);
  }
} else if (platform === "linux") {
  if (arch === "arm64") {
    binding = require("chromadb-js-bindings-linux-arm64-gnu");
  } else if (arch === "x64") {
    binding = require("chromadb-js-bindings-linux-x64-gnu");
  } else {
    throw new Error(`Unsupported architecture on Linux: ${arch}`);
  }
} else if (platform === "win32") {
  if (arch === "arm64") {
    binding = require("chromadb-js-bindings-win32-arm64-msvc");
  } else {
    throw new Error(
      `Unsupported Windows architecture: ${arch}. Only ARM64 is supported.`,
    );
  }
} else {

View on GitHub (pinned to aecdd12c8a)

When it happens

Trigger: Thrown at clients/new-js/packages/chromadb/src/bindings.ts:16 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of chroma-core/chroma@aecdd12c8a (2026-08-16). Data as JSON: /api/errors/63d03ad589eeabb0. Report an issue: GitHub.