mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-03 19:44:06 +00:00
fix(update): guide EACCES manual recovery
This commit is contained in:
committed by
Peter Steinberger
parent
583eb711ec
commit
26bcc95665
@@ -85,7 +85,13 @@ export function inferUpdateFailureHints(result: UpdateRunResult): string[] {
|
||||
hints.push(
|
||||
"Detected permission failure (EACCES). Re-run with a writable global prefix or sudo (for system-managed Node installs).",
|
||||
);
|
||||
hints.push(
|
||||
"If you recover with sudo/manual package install on a managed Gateway, stop the Gateway first so it does not load files while the package tree is being replaced.",
|
||||
);
|
||||
hints.push("Example: npm config set prefix ~/.local && npm i -g openclaw@latest");
|
||||
hints.push(
|
||||
"System install outline: openclaw gateway stop -> sudo <system-npm> i -g openclaw@latest -> openclaw gateway install --force -> openclaw gateway restart.",
|
||||
);
|
||||
}
|
||||
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user