Skip to content

CLI install fails due to missing TypeScript #111

@SubZtep

Description

@SubZtep

Disco works like a charm, but I can't install the CLI on my Mac M1, it keeps complaining about missing TypeScript.

Tried installing it in the deployed project dir and even adding TypeScript globally via npm, but no luck.

Any ideas?

~ curl https://cli-assets.letsdisco.dev/install.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1964  100  1964    0     0  13722      0 --:--:-- --:--:-- --:--:-- 13734
This script requires superuser access.
You will be prompted for your password by sudo.
Password:
Installing CLI from https://cli-assets.letsdisco.dev/channels/stable/disco-darwin-arm64.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 47.5M  100 47.5M    0     0  7530k      0  0:00:06  0:00:06 --:--:--  9.8M
v22.11.0
disco installed to /usr/local/bin/disco
 ›   Warning: Could not find typescript. Please ensure that typescript is a devDependency. Falling back to compiled source.
disco/0.5.53 darwin-arm64 node-v22.11.0
~ disco --version
 ›   Warning: Could not find typescript. Please ensure that typescript is a devDependency. Falling back to compiled source.
disco/0.5.53 darwin-arm64 node-v22.11.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions