Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

altimate-dbt binary missing from npm package.json bin — not exposed on PATH after 'npm install -g altimate-code'

オープン 初心者向け
#982 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
node.js, typescript
領域
build-system, cli

調査の方向性

まず package.json の bin マップと既存の bin/altimate-dbt エントリーポイントを調べます。クリーンな環境にパッケージをグローバルインストールし、npm が既存の2つのコマンドとともに altimate-dbt を PATH 上に公開することを確認します。dbt-* skills がそれを呼び出せることを確認してください。Node <=20 の拡張機能の問題は、レポートで記載されている別個の互換性に関する問題です。

索引モデルが issue の本文から書いたものです。

説明

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 altimate binary at ~/.altimate/bin/altimate was also installed via curl … | bash — as expected, that install exposes only altimate (per README) and doesn't ship altimate-dbt at all. This issue is specifically about the npm install path.
主要言語
TypeScript
スター
813
フォーク
134
平均マージ
2日 3時間
マージ済み PR(30日)
65

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AltimateAI/altimate-code のほかの issue

AltimateAI/altimate-code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。