altimate-dbt binary missing from npm package.json bin — not exposed on PATH after 'npm install -g altimate-code'
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 72/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Tranquilla
- Stack tecnologico
- node.js, typescript
- Ambito
- build-system, cli
Direzione di ricerca
Inizia ispezionando la mappa bin di package.json e l'entry point esistente bin/altimate-dbt. Installa il pacchetto globalmente in un ambiente pulito e verifica che npm esponga altimate-dbt su PATH insieme ai due comandi esistenti; conferma che le skill dbt-* possano invocarlo. Il problema dell'estensione di Node <=20 è una questione di compatibilità separata menzionata nel report.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
After npm install -g altimate-code@0.8.10, the companion CLI altimate-dbt (which every built-in dbt-* skill depends on — dbt-develop, dbt-schema-verify, dbt-test, dbt-troubleshoot, dbt-docs, dbt-analyze, dbt-unit-tests, sql-review) is not accessible on PATH. The binary is present in the installed package, but package.json's bin field only exposes altimate and altimate-code, so npm never creates the symlink.
Reproduction
npm install -g altimate-code # v0.8.10, on Node 25.9.0, macOS
which altimate-dbt # -> not found
which altimate altimate-code # -> both resolved
The binary itself exists and works — it's just not linked:
$ ls /opt/homebrew/lib/node_modules/altimate-code/bin/
altimate altimate-code altimate-dbt # <-- altimate-dbt is here
$ ls /opt/homebrew/bin/altimate*
altimate -> ../lib/node_modules/altimate-code/bin/altimate
altimate-code -> ../lib/node_modules/altimate-code/bin/altimate-code
# altimate-dbt symlink missing
Inspecting package.json:
"bin": {
"altimate": "./bin/altimate",
"altimate-code": "./bin/altimate-code"
}
Confirmed: no altimate-dbt entry.
Impact
All auto-loaded dbt-* skills fail silently or with confusing errors, because they shell out to altimate-dbt. The skill guidance (e.g. dbt-develop, dbt-schema-verify) explicitly says "never call raw dbt directly — always use altimate-dbt", but the tool isn't on PATH after the documented install.
The README also states: "The npm install exposes both altimate and altimate-code on PATH" — but altimate-dbt is described elsewhere as required for the dbt tools. This appears to be an oversight, not a policy.
Workaround
Manual symlink after install:
ln -s /opt/homebrew/lib/node_modules/altimate-code/bin/altimate-dbt \
/opt/homebrew/bin/altimate-dbt
Suggested fix
Add altimate-dbt to the bin map in package.json:
"bin": {
"altimate": "./bin/altimate",
"altimate-code": "./bin/altimate-code",
"altimate-dbt": "./bin/altimate-dbt"
}
Related quirk
The altimate-dbt entry point (/opt/homebrew/lib/node_modules/altimate-code/dbt-tools/bin/altimate-dbt) is extensionless with "type": "module" in its dbt-tools/package.json. On Node ≤ 20 this throws ERR_UNKNOWN_FILE_EXTENSION. Node explicitly hints the fix — rename to altimate-dbt.js and update the shebang, or add "exports" metadata. Consider bumping the engines constraint or renaming for pre-22 compatibility.
Environment
- macOS (darwin, arm64)
altimate-code@0.8.10(npm global)- Standalone
altimatebinary at~/.altimate/bin/altimatewas also installed viacurl … | bash— as expected, that install exposes onlyaltimate(per README) and doesn't shipaltimate-dbtat all. This issue is specifically about the npm install path.
- Lingua principale
- TypeScript
- Stelle
- 813
- Fork
- 134
- Merge medio
- 2g 3h
- PR unite (30g)
- 65
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di AltimateAI/altimate-code
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
AltimateAI/altimate-code#1359 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
AltimateAI/altimate-code#1323 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
AltimateAI/altimate-code#1288 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
AltimateAI/altimate-code#1285 ·
-
privacy: Altimate Base consent dialog no longer discloses persistent per-installation identifier Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
AltimateAI/altimate-code#1284 ·
Tutte le issue di AltimateAI/altimate-code
Issue simili
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
Mend: dependency security vulnerability untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100