Skip to content

Install script is not working due fnm binary #12173

@rgildein

Description

@rgildein

Before submitting your bug report

Relevant environment info

- OS:macOS
- Continue version: 1.5.45
- IDE version: --
- Model: --
- config:
  
--
  
  OR link to agent in Continue hub:

Description

My first try to install Continue cn CLI on macOS failed due missing fnm binary, which was installed correctly. The issue is path in script checking if binary is installed.

Here is how I was able to fix it.

194c194
<     if [ ! -x "$FNM_INSTALL_DIR/fnm" ]; then
---
>     if [ ! -x "$FNM_INSTALL_DIR" ]; then

To reproduce

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

Log output

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/rgildein/.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!
✔︎ JSON API formula.jws.json                          Downloaded   32.0MB/ 32.0MB
✔︎ JSON API cask.jws.json                             Downloaded   15.4MB/ 15.4MB
Warning: fnm 1.39.0 is already installed and up-to-date.
To reinstall 1.39.0, run:
  brew reinstall fnm
==> Error: fnm installation failed - binary not found at /Users/rgildein/.local/share/fnm/fnm
==> Warning: Installation failed. Cleaning up...

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:installationRelates to the installation processkind:bugIndicates an unexpected problem or unintended behavioros:macHappening specifically on Mac

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions