Install fails because it's not checking for fnm properly? MacOS

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

メンテナーはふだん 6 日以内に返信

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
bash, macos, shell, typescript
領域
cli

調査の方向性

報告では extensions/cli/scripts/install.sh が示されています。まずfnmのインストール手順とバイナリの検出手順を読み、次に想定されるパスと報告に示されたHomebrewの場所を比較してください。利用可能であれば、Homebrewを使ってmacOSで再現してください。インストーラーがインストール済みのfnmバイナリを認識し、正常に処理を続行できれば完了です。

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

説明

Before submitting your bug report
Relevant environment info
- OS: macOS 27.2
- Continue version: whatever the installer script wants to install
- IDE version: N/A
- Model: N/A
- config: N/A
Description

Installation fails because it's trying to find fnm in a hard coded directory but brew installs fnm into it's normal location.

paulhargreaves@ultra ~ % curl -fsSL https://raw.githubusercontent.com/continuedev/continue/main/extensions/cli/scripts/install.sh | bash      

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
           Continue CLI Installer
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

==> Detected platform: darwin-arm64
==> Using shell profile: /Users/paulhargreaves/.zshrc
==> Warning: Node.js is not installed
==> Installing fnm (Fast Node Manager)...
Downloading fnm using Homebrew...
Checking dependencies for the installation script...
Checking availability of curl... OK!
Checking availability of unzip... OK!
Checking availability of Homebrew (brew)... OK!
==> Fetching downloads for: fnm
✔︎ Bottle fnm (1.39.0)                               Downloaded    3.2MB/  3.2MB
==> Pouring fnm--1.39.0.arm64_golden_gate.bottle.tar.gz
🍺  /opt/homebrew/Cellar/fnm/1.39.0: 12 files, 7.8MB
==> Caveats
zsh completions have been installed to:
  /opt/homebrew/share/zsh/site-functions
==> Error: fnm installation failed - binary not found at /Users/paulhargreaves/.local/share/fnm/fnm
==> Warning: Installation failed. Cleaning up...
paulhargreaves@ultra ~ % which fnm
/opt/homebrew/bin/fnm
To reproduce
  1. I assume - don't have fnm installed, nor any of the directories.
  2. Have a machine that brew wants to install the golden gate version of fnm.
  3. Follow the install script.
Log output

主要言語
TypeScript
スター
36.6k
フォーク
5.6k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

continuedev/continue のほかの issue

continuedev/continue の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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