Skip to content

[JS] Improve executable download troubleshooting in @sentry/cli #1348

@lobsterkatie

Description

@lobsterkatie

Problem:

The post-install script in @sentry/cli, which attempts to download the version of the sentry-cli executable appropriate to the current platform, can error out for any number of reasons, and we don't give users a lot of help when it does.

Possible solutions:

  • In error message, point users to the Node installation instructions at https://github.com/getsentry/sentry-cli#node
  • Improve those installation instructions to explain how people are supposed to know what to call the binary if they're using the custom CDN option. (We say The downloader will append "/<version>/sentry-cli-<dist>", but don't tell people how to determine version and dist.) Also potentially mention SENTRYCLI_USE_LOCAL.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions