mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 11:59:29 +00:00
fix: use user-local npm prefix for openclaw install (#1941)
npm install -g openclaw fails with EACCES on non-root users (e.g., ubuntu on AWS Lightsail) because /usr/local/lib/node_modules isn't writable. Use the same ~/.npm-global prefix pattern already used by codex and kilocode agents. Fixes both the standard installAgent path and the batched setupOpenclawBatched path (used by Fly). Co-authored-by: spawn-bot <spawn-bot@openrouter.ai> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
357132b506
commit
954f3b4893
2 changed files with 10 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@openrouter/spawn",
|
||||
"version": "0.10.17",
|
||||
"version": "0.10.18",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"spawn": "cli.js"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue