Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

chore: show back the instruction to require nodejs installed to ensure openclaw integration successfully

Vanalitee65e57902575
diff --git a/web-app/src/locales/en/settings.json b/web-app/src/locales/en/settings.json
index efc0a649e..97599b963 100644
--- a/web-app/src/locales/en/settings.json
+++ b/web-app/src/locales/en/settings.json
@@ -335,6 +335,7 @@
"start": "Start",
"noLocalModelAvailable": "A local model is required to enable OpenClaw. Download a model first.",
"noModelAvailable": "A model is required to enable OpenClaw. Download a local model or configure a remote provider with an API key.",
+ "nodejsPrerequisite": "Node.js (v22 or later) is required to run OpenClaw. Please ensure it is installed before enabling.",
"stop": "Stop",
"startError": "Couldn't start Remote Access. Please try again.",
"stopError": "Couldn't stop Remote Access. Please try again.",
diff --git a/web-app/src/routes/settings/remote-access.tsx b/web-app/src/routes/settings/remote-access.tsx
index ee974096c..bd43fdf47 100644
--- a/web-app/src/routes/settings/remote-access.tsx
+++ b/web-app/src/routes/settings/remote-access.tsx
@@ -332,6 +332,12 @@ function RemoteAccess() {
description={!isRunning && !hasAnyModel ? t('settings:remoteAccess.noModelAvailable') : undefined}
/>
+ {!isRunning && (
+ <p className="text-sm text-muted-foreground px-1">
+ {t('settings:remoteAccess.nodejsPrerequisite')}
+ </p>
+ )}
+
{isRunning && status?.sandbox_type && (
<CardItem
title={t('settings:remoteAccess.runtimeMode')}