Skip to content

Build fails for openclaw v2026.2.21+ — canvas:a2ui:bundle step fails in Nix sandbox #62

@arubis

Description

@arubis

Summary

Attempting to build openclaw versions newer than v2026.2.20 (specifically v2026.2.21 and v2026.2.22) using the current nix-openclaw build scripts fails during the canvas:a2ui:bundle step.

Steps to reproduce

Override sourceInfo in the overlay to point at v2026.2.21 (5e34eb98) or v2026.2.22 (a54dc7fe) with correct hash and pnpmDepsHash, then build openclaw-gateway.

Error

>> [timing] build: canvas:a2ui:bundle...

> openclaw@2026.2.21 canvas:a2ui:bundle /nix/var/nix/builds/nix-91519-2084378872/source
> bash scripts/bundle-a2ui.sh

A2UI bundling failed. Re-run with: pnpm canvas:a2ui:bundle
If this persists, verify pnpm deps and try again.
 ELIFECYCLE  Command failed with exit code 1.

The build gets through pnpm install, pnpm rebuild, and patchShebangs successfully, but fails on the canvas:a2ui:bundle step which is invoked by the existing gateway-build.sh script.

Context

  • Both v2026.2.21 and v2026.2.22 fail identically
  • v2026.2.20 (currently pinned) builds fine
  • Platform: aarch64-darwin
  • The upstream scripts/bundle-a2ui.sh appears to have changed in a way that's incompatible with the Nix sandbox (possibly needs network access or a tool not available in the build environment)

Hashes for the maintainers

v2026.2.21 (5e34eb98fb023900f455b7e94c681383da8256f2):

  • hash: sha256-iV/n217XAkFaMdoYhBKoSthwmCYr2XzGcp7V4pVF008=
  • pnpmDepsHash: sha256-1BYkeXAILkVDh9xzB6nYm2bVd4Bn2pYe05W40GZxhHw=

v2026.2.22 (a54dc7fe80fc02e2a02e6901668a468fcb0cf8b4):

  • hash: sha256-xBBEpBRwZlghx2DPCGIpNgTPEMrrBFGkjPVEBrcBGKo=
  • pnpmDepsHash: sha256-x4uB91wUStN6ljiV1Jqx0qWK3RwAwd+5msbrlSb/sSE=

This issue was generated with AI assistance. A human is available for followup and clarification.

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