Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion clients/js/packages/chromadb/src/bindings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ if (process.platform === "darwin") {
} else if (process.platform === "win32") {
if (process.arch === "arm64") {
binding = require("chromadb-js-bindings-win32-arm64-msvc");
} else if (process.arch === "x64") {
binding = require("chromadb-js-bindings-win32-x64-msvc");
} else {
throw new Error(
`Unsupported Windows architecture: ${process.arch}. Only ARM64 is supported.`,
`Unsupported Windows architecture: ${process.arch}`,
);
}
} else {
Expand Down