Skip to content

Installing it on a debian trixie container inside docker on Apple Silicon with npm fails #864

@hanoii

Description

@hanoii
npm i -g @railway/cli
npm warn deprecated tar@6.2.1: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
npm error code 1
npm error path /mnt/ddev-global-cache/n_prefix/cotizador2026-web/lib/node_modules/@railway/cli
npm error command failed
npm error command sh -c node ./npm-install/postinstall.js
npm error https://github.com/railwayapp/cli/releases/download/v4.43.0/railway-v4.43.0-aarch64-unknown-linux-gnu.tar.gz
npm error Error: Failed fetching the binary: Not Found
npm error     at install (file:///mnt/ddev-global-cache/n_prefix/cotizador2026-web/lib/node_modules/@railway/cli/npm-install/postinstall.js:30:9)
npm error     at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
npm error A complete log of this run can be found in: /mnt/ddev-global-cache/npm/_logs/2026-04-28T11_38_02_753Z-debug-0.log

It's looking for https://github.com/railwayapp/cli/releases/download/v4.43.0/railway-v4.43.0-aarch64-unknown-linux-gnu.tar.gz which doesn't exists.

bash <(curl -fsSL cli.new) installs https://github.com/railwayapp/cli/releases/download/v4.43.0/railway-v4.43.0-aarch64-unknown-linux-musl.tar.gz which works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions