Missing-driver error says "Searched 0 locations:" and names nowhere on a first run
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 91/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- cli
Research direction
Open packages/drivers/src/resolve.ts and inspect the DriverNotInstalledError branch used when driverSearchRoots() returns no directories. Reproduce with ALTIMATE_DRIVER_DIR=/tmp/does-not-exist and any DuckDB operation. Done means the error clearly says there was nothing to search and names the directory created by the install command, without changing resolution behavior.
Written by the indexing model from the issue text.
Description
Drivers are deliberately not shipped with the binary, so "driver not installed" is a normal, expected state that users hit by design. That makes the message a primary UX surface — and in the first-run case it currently names nowhere to look.
driverSearchRoots() only returns directories that already exist. On a machine that has never installed a driver, every candidate root is absent, so it returns an empty array and DriverNotInstalledError renders:
DuckDB driver not installed.
Install it with the warehouse_install_driver tool, or run:
npm install --prefix /home/user/.local/share/altimate-code/drivers duckdb
Searched 0 locations:
The last line ends in a colon with nothing after it. It reads like a truncated message or a bug in the CLI rather than the ordinary "you have not installed this yet" state, and it names no location at all.
Expected: the message should say plainly that there was nothing to search, and name the directory the install command creates, so the two failure modes stay distinguishable:
- not installed anywhere (this case)
- found on disk but failed to load (already handled separately, and already clear)
Reproduce with a compiled binary and a driver directory that does not exist:
ALTIMATE_DRIVER_DIR=/tmp/does-not-exist altimate ... # any DuckDB operation
Scope: text and one branch in DriverNotInstalledError in packages/drivers/src/resolve.ts. No change to resolution behaviour.
- Dominant language
- TypeScript
- Stars
- 813
- Forks
- 134
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 63
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.
More from AltimateAI/altimate-code
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
AltimateAI/altimate-code#1323 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
AltimateAI/altimate-code#1288 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
AltimateAI/altimate-code#1285 ·
-
privacy: Altimate Base consent dialog no longer discloses persistent per-installation identifier Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
AltimateAI/altimate-code#1284 ·
-
Difficulty 2/5 Under an hour Newbie friendliness 72/100
AltimateAI/altimate-code#1283 ·
All issues in AltimateAI/altimate-code
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
bug v2
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
modelcontextprotocol/inspector#2458 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
carbon-design-system/ibm-products#9907 ·