Skip to content

Error running official install script #6

@sandstrom

Description

@sandstrom

I was trying to run the official install script:

curl -fsSL https://d2lang.com/install.sh | sh -s -- --tala

Obtained from this page: https://app.terrastruct.com/console/cli (pro customer)

Got this error at the end:

Error: Broken pipe @ rb_io_flush_raw -

Details

  • Macos Sequoia 15.2
  • Error at the bottom of the trace, second last line or so.
  • API key is in env

Full log

expand for full log output
my-computer:some-dir/sub-dir % curl -fsSL https://d2lang.com/install.sh | sh -s -- --tala
log: detected macOS with homebrew, using homebrew for installation
/* installing d2 with homebrew */
exec: brew update
==> Updating Homebrew...
Already up-to-date.
exec: brew install d2
==> Downloading https://ghcr.io/v2/homebrew/core/d2/manifests/0.6.8
Already downloaded: /Users/my-user/Library/Caches/Homebrew/downloads/a6b91f415cb9541d7d4393dea04f45c9b57213394fd478486ccaa80ad597d773--d2-0.6.8.bottle_manifest.json
==> Fetching d2
==> Downloading https://ghcr.io/v2/homebrew/core/d2/blobs/sha256:c2a26f389d2aa29
Already downloaded: /Users/my-user/Library/Caches/Homebrew/downloads/dc75aef1d048aee1927f1da800b22ededd5c508281a3563be2bfe96cef5ccf9a--d2--0.6.8.arm64_sequoia.bottle.tar.gz
==> Pouring d2--0.6.8.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/d2/0.6.8: 7 files, 34.5MB
==> Running `brew cleanup d2`...
/* installing tala with homebrew */
exec: brew update
==> Updating Homebrew...
Already up-to-date.
exec: brew install terrastruct/tap/tala
==> Fetching terrastruct/tap/tala
==> Downloading https://github.com/terrastruct/tala/releases/download/v0.4.1/tal
Already downloaded: /Users/my-user/Library/Caches/Homebrew/downloads/b814e17659d6f3a729b03678988fe61b591b2dfaa45ce0a5eebc2192fe757140--tala-v0.4.1-macos-arm64.tar.gz
==> Installing tala from terrastruct/tap
==> make install PREFIX=/opt/homebrew/Cellar/tala/0.4.1
🍺  /opt/homebrew/Cellar/tala/0.4.1: 8 files, 42.2MB, built in 1 second
==> Running `brew cleanup tala`...
/****************************************************************
 * next steps
 ****************************************************************/
log: d2 has been successfully installed with homebrew.
log: tala has been successfully installed with homebrew.
log: Rerun this install script with --uninstall to uninstall.
log
log: Run D2_LAYOUT=tala d2 --help for usage.
log: Run man d2 for detailed docs.
log: Run man d2plugin-tala for detailed TALA docs.
Error: Broken pipe @ rb_io_flush_raw - <STDOUT>
warn: newly installed d2plugin-tala 0.4.1 is shadowed by d2plugin-tala v0.4.1 in $PATH


Other

I should mention that I could still run the CLI tool, but wanted to let you know.

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