Skip to content

[Bug]: Can't install on my mac. #32439

@Minessential

Description

@Minessential

Bug type

Behavior bug (incorrect output/state without crash)

Summary

i just run the install command, it install faild.

and this is my installation environment:
· Active Node.js: v24.14.0 (/Users/mine/.nvm/versions/node/v24.14.0/bin/node)
· Active npm: 11.9.0 (/Users/mine/.nvm/versions/node/v24.14.0/bin/npm)
· mac OS 26.3

Steps to reproduce

  1. open zsh
  2. run curl -fsSL https://openclaw.ai/install.sh | bash -s -- --install-method git

Expected behavior

Successfully installed

Actual behavior

 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED  Failed to prepare git-hosted package fetched from "https://codeload.github.com/tloncorp/api-beta/tar.gz/7eede1c1a756977b09f96aa14a92e2b06318ae87": The git-hosted package "@tloncorp/api@0.0.2" needs to execute build scripts but is not in the "onlyBuiltDependencies" allowlist.

Add the package to "onlyBuiltDependencies" in your project's pnpm-workspace.yaml to allow it to run scripts. For example:
onlyBuiltDependencies:

  • "@tloncorp/api"

OpenClaw version

2026.2.22

Operating system

mac OS 26.3

Install method

curl -fsSL https://openclaw.ai/install.sh | bash -s -- --install-method git

Logs, screenshots, and evidence

curl -fsSL https://openclaw.ai/install.sh | bash -s -- --install-method git

  🦞 OpenClaw Installer
  Your messages, your servers, Meta's tears.

✓ Detected: macos

Install plan
OS: macos
Install method: git
Requested version: latest
Git directory: /Users/mine/openclaw
Git update: 1

[1/3] Preparing environment
✓ Homebrew already installed
✓ Node.js v24.14.0 found
· Active Node.js: v24.14.0 (/Users/mine/.nvm/versions/node/v24.14.0/bin/node)
· Active npm: 11.9.0 (/Users/mine/.nvm/versions/node/v24.14.0/bin/npm)

[2/3] Installing OpenClaw
· Installing OpenClaw from git checkout: /Users/mine/openclaw
✓ Git already installed
✓ pnpm ready (pnpm)
✗ Installing dependencies failed — re-run with --verbose for details
Scope: all 37 workspace projects
Lockfile is up to date, resolution step is skipped
Progress: resolved 1, reused 0, downloaded 0, added 0
Packages: +1092
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 WARN  GET https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz error (ECONNRESET). Will retry in 10 seconds. 2 retries left.
Progress: resolved 1092, reused 954, downloaded 0, added 235
Progress: resolved 1092, reused 954, downloaded 9, added 477
Progress: resolved 1092, reused 954, downloaded 15, added 861
Progress: resolved 1092, reused 954, downloaded 18, added 972
 WARN  Tarball download average speed 33 KiB/s (size 69 KiB) is below 50 KiB/s: https://registry.npmjs.org/jose/-/jose-4.15.9.tgz (GET)
Progress: resolved 1092, reused 954, downloaded 20, added 974
 WARN  Tarball download average speed 45 KiB/s (size 115 KiB) is below 50 KiB/s: https://registry.npmjs.org/@urbit/nockjs/-/nockjs-1.6.0.tgz (GET)
Packages are cloned from the content-addressable store to the virtual store.
  Content-addressable store is at: /Users/mine/Library/pnpm/store/v10
  Virtual store is at:             node_modules/.pnpm
 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED  Failed to prepare git-hosted package fetched from "https://codeload.github.com/tloncorp/api-beta/tar.gz/7eede1c1a756977b09f96aa14a92e2b06318ae87": The git-hosted package "@tloncorp/api@0.0.2" needs to execute build scripts but is not in the "onlyBuiltDependencies" allowlist.

Add the package to "onlyBuiltDependencies" in your project's pnpm-workspace.yaml to allow it to run scripts. For example:
onlyBuiltDependencies:
  - "@tloncorp/api"

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbug:behaviorIncorrect behavior without a crash

    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