chroma-core/chroma · error · Error
Unsupported architecture on Linux: ${arch}
Error message
Unsupported architecture on Linux: ${arch} What it means
Error "Unsupported architecture on Linux: ${arch}" thrown in chroma-core/chroma.
Source
Thrown at clients/new-js/packages/chromadb/src/bindings.ts:24
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 {
throw new Error(`Unsupported platform: ${platform}`);
}
export default binding;
View on GitHub (pinned to aecdd12c8a)
When it happens
Trigger: Thrown at clients/new-js/packages/chromadb/src/bindings.ts:24 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/d8613ccc853ec0df.
Report an issue: GitHub.