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

Open Beginner friendly
#13,533 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 6 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
bash, macos, shell, typescript
Domain
cli

Research direction

The report points to extensions/cli/scripts/install.sh; start by reading its fnm installation and binary detection steps, then compare the expected path with the Homebrew location shown in the report. Reproduce on macOS with Homebrew if available. Done when the installer recognizes the installed fnm binary and continues successfully.

Written by the indexing model from the issue text.

Description

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

Dominant language
TypeScript
Stars
36.6k
Forks
5.6k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from continuedev/continue

All issues in continuedev/continue

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.