fix(package.json): correct Windows sqlite-vec package name + add linux-arm64#225
Open
fix(package.json): correct Windows sqlite-vec package name + add linux-arm64#225
Conversation
…x-arm64 The optionalDependencies entry `sqlite-vec-win32-x64` does not exist on npm (404). The correct package name is `sqlite-vec-windows-x64` — the sqlite-vec project maps Node's `process.platform` value `win32` to `windows` in its `platformPackageName()` function. Also adds the missing `sqlite-vec-linux-arm64` entry to match all 5 platforms declared in sqlite-vec's own optionalDependencies. Fixes tobi#224 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2d52f67 to
3f946f7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sqlite-vec-win32-x64→sqlite-vec-windows-x64inoptionalDependencies(the old name doesn't exist on npm — 404)sqlite-vec-linux-arm64entry to match all 5 platforms declared insqlite-vec's ownoptionalDependenciesFixes #224
Root Cause
The
sqlite-vecnpm package mapsprocess.platformvaluewin32→windowsin itsplatformPackageName()function. The published npm package issqlite-vec-windows-x64, notsqlite-vec-win32-x64.Verification
Tested on Windows 11 x64, Node.js v25.6.1:
1. Package name confirmation:
2. Extension loading works:
3. Full round-trip (load → create table → insert → KNN query):
4. qmd status confirms sqlite-vec operational:
5. sqlite-vec's own optionalDependencies (all 5 platforms):
{ "sqlite-vec-darwin-x64": "0.1.7-alpha.2", "sqlite-vec-darwin-arm64": "0.1.7-alpha.2", "sqlite-vec-linux-arm64": "0.1.7-alpha.2", "sqlite-vec-linux-x64": "0.1.7-alpha.2", "sqlite-vec-windows-x64": "0.1.7-alpha.2" }qmd previously listed only 4, missing
linux-arm64and using wrong Windows name.Test plan
npm installon Windows x64 — no 404 warning for sqlite-vecnpm installon Linux arm64 — sqlite-vec binary installsqmd embed+qmd vsearchon Windows — vector search works