tursodatabase / tursodatabase/libsql-client-ts
Error: Cannot find module '@libsql/darwin-x64' on Mac M4
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 576
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
"dependencies": {
"@libsql/client": "^0.15.1"
}
Operating System:
• macOS 15.3.2 (Build 24D81)
• Darwin Kernel 24.3.0
• Boot Mode: Normal
Hardware:
• Model: Mac mini (Mac16,10)
• Chip: Apple M4
node:internal/modules/cjs/loader:1249
const err = new Error(message);
^
Error: Cannot find module '@libsql/darwin-x64'
Require stack:
- /Volumes/project/node_modules/libsql/index.js
at Function._resolveFilename (node:internal/modules/cjs/loader:1249:15)
at Function._load (node:internal/modules/cjs/loader:1075:27)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
at Module.require (node:internal/modules/cjs/loader:1340:12)
at require (node:internal/modules/helpers:138:16)
at requireNative (/Volumes/project//node_modules/libsql/index.js:22:10)
at Object.<anonymous> (/Volumes/project/node_modules/libsql/index.js:47:5)
at Module._compile (node:internal/modules/cjs/loader:1565:14)
at Object..js (node:internal/modules/cjs/loader:1708:10) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Volumes/project/node_modules/libsql/index.js'
]
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the failing require in node_modules/libsql/index.js and reproduce the error on macOS 15.3.2 with an Apple M4 using @libsql/client ^0.15.1. Done means the package installs and resolves its native module without MODULE_NOT_FOUND on that platform.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, node.js, sqlite, typescript
- Domain
- databases, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100