ruvnet/ruflo · error · Error

no log file yet — meta-proxy has never been started in --ser

Error message

no log file yet — meta-proxy has never been started in --service mode

What it means

Error "no log file yet — meta-proxy has never been started in --service mode" thrown in ruvnet/ruflo.

Source

Thrown at v3/@claude-flow/cli/src/proxy/lifecycle.ts:283

  const logPath = proxyLogFilePath();
  if (!fs.existsSync(logPath)) return '';
  const { size } = fs.statSync(logPath);
  const start = Math.max(0, size - maxBytes);
  const fd = fs.openSync(logPath, 'r');
  try {
    const buf = Buffer.alloc(size - start);
    fs.readSync(fd, buf, 0, buf.length, start);
    return buf.toString('utf-8');
  } finally {
    fs.closeSync(fd);
  }
}

/** Streams new log lines as they're appended, starting from the current end of file. */
export function watchProxyLog(onLine: (line: string) => void): fs.FSWatcher {
  const logPath = proxyLogFilePath();
  if (!fs.existsSync(logPath)) {
    throw new Error('no log file yet — meta-proxy has never been started in --service mode');
  }
  let offset = fs.statSync(logPath).size;
  return fs.watch(logPath, () => {
    const { size } = fs.statSync(logPath);
    if (size <= offset) return;
    const fd = fs.openSync(logPath, 'r');
    try {
      const buf = Buffer.alloc(size - offset);
      fs.readSync(fd, buf, 0, buf.length, offset);
      offset = size;
      for (const line of buf.toString('utf-8').split('\n')) {
        if (line.length > 0) onLine(line);
      }
    } finally {
      fs.closeSync(fd);
    }
  });
}

View on GitHub (pinned to 6b01dc5a68)

When it happens

Trigger: Thrown at v3/@claude-flow/cli/src/proxy/lifecycle.ts:283 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of ruvnet/ruflo@6b01dc5a68 (2026-08-12). Data as JSON: /api/errors/03eae7a39579ea98. Report an issue: GitHub.