You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
detail: "Could not read package.json at /p/brave/package.json: EACCES: permission denied",
519
+
},
520
+
],
521
+
});
522
+
523
+
constresult=awaitrunPostCorePluginConvergence({
524
+
cfg: {
525
+
plugins: {entries: {brave: {enabled: true}}},
526
+
}asunknownasOpenClawConfig,
527
+
env: {},
528
+
});
529
+
530
+
constmessage=
531
+
'Plugin "brave" failed post-core payload smoke check (unreadable-package-json): Could not read package.json at /p/brave/package.json: EACCES: permission denied';
532
+
constguidance=[
533
+
"Fix file access for /p/brave/package.json so it is readable by the user running OpenClaw. For EACCES or EPERM, correct its ownership or permissions; otherwise resolve the reported filesystem I/O error, then retry.",
534
+
"Run `openclaw plugins inspect brave --runtime --json` for details.",
535
+
];
536
+
expect(result.warnings).toStrictEqual([
537
+
{
538
+
pluginId: "brave",
539
+
reason:
540
+
"unreadable-package-json: Could not read package.json at /p/brave/package.json: EACCES: permission denied",
`Fix file access for ${packageJsonPath} so it is readable by the user running OpenClaw. For EACCES or EPERM, correct its ownership or permissions; otherwise resolve the reported filesystem I/O error, then retry.`,
"OpenClaw startup migrations were skipped because the selected config changed during startup; refusing to report the gateway ready. Retry startup so the new config can be validated.",
@@ -460,20 +475,29 @@ export async function runDoctorConfigPreflight(
0 commit comments