Description
The @tloncorp/api package is declared as a git dependency (github:tloncorp/api-beta#7eede1c) in both extensions/tlon/package.json and root package.json. When installed via npm (as opposed to pnpm with an existing lockfile), the prepare lifecycle script (npm run build → vite build) fails with exit code 127 because vite — a devDependency of the package — is not available in the git-cloned temp directory.
This affects consumers installing RemoteClaw via npm and host environments running npm install.
Environment
| Detail |
Value |
| Host |
macOS (darwin, arm64) |
| Node.js |
v25.9.0 |
| npm |
11.12.1 |
| RemoteClaw |
main @ 3a84842 |
| Last upstream sync |
v2026.3.8 (fc2cefeeab) |
Steps to Reproduce
- On a clean environment, run
npm install (or npm install --force) for a package that depends on RemoteClaw
- npm resolves
@tloncorp/api@0.0.2 from github:tloncorp/api-beta#7eede1c
- npm clones the repo to a temp directory and runs
prepare → npm run build
vite build fails with exit code 127 ("command not found") — vite is a devDependency that isn't installed in the temp clone
Expected Behavior
npm install completes successfully.
Actual Behavior
error code 127
error path /Users/.../.npm/_cacache/tmp/git-cloneGmmK7w
error command failed
error command sh -c npm run build
Root Cause
@tloncorp/api is a git dependency with a prepare script that invokes vite build. When npm installs git dependencies, it clones the repo and runs prepare, but vite (a devDependency) may not be available in the spawned shell environment.
Upstream Status
Upstream OpenClaw fixed this in commit ac850e815b ("fix(ci): replace tlon git api dependency") by:
- Removing the
@tloncorp/api git dependency entirely
- Replacing it with
@aws-sdk/client-s3 + @aws-sdk/s3-request-presigner
- Adding a local
tlon-api.ts implementation
First upstream release with the fix: v2026.3.22
Our last sync: v2026.3.8 (6 tags behind)
Workaround
Install vite globally on the host: npm install -g vite
Resolution
Either:
- Cherry-pick upstream fix
ac850e815b ahead of the next sync
- Sync upstream to v2026.3.22+ to pick up the fix naturally
Description
The
@tloncorp/apipackage is declared as a git dependency (github:tloncorp/api-beta#7eede1c) in bothextensions/tlon/package.jsonand rootpackage.json. When installed via npm (as opposed to pnpm with an existing lockfile), thepreparelifecycle script (npm run build→vite build) fails with exit code 127 becausevite— a devDependency of the package — is not available in the git-cloned temp directory.This affects consumers installing RemoteClaw via npm and host environments running
npm install.Environment
fc2cefeeab)Steps to Reproduce
npm install(ornpm install --force) for a package that depends on RemoteClaw@tloncorp/api@0.0.2fromgithub:tloncorp/api-beta#7eede1cprepare→npm run buildvite buildfails with exit code 127 ("command not found") —viteis a devDependency that isn't installed in the temp cloneExpected Behavior
npm installcompletes successfully.Actual Behavior
Root Cause
@tloncorp/apiis a git dependency with apreparescript that invokesvite build. When npm installs git dependencies, it clones the repo and runsprepare, butvite(a devDependency) may not be available in the spawned shell environment.Upstream Status
Upstream OpenClaw fixed this in commit
ac850e815b("fix(ci): replace tlon git api dependency") by:@tloncorp/apigit dependency entirely@aws-sdk/client-s3+@aws-sdk/s3-request-presignertlon-api.tsimplementationFirst upstream release with the fix:
v2026.3.22Our last sync:
v2026.3.8(6 tags behind)Workaround
Install
viteglobally on the host:npm install -g viteResolution
Either:
ac850e815bahead of the next sync