openclaw - ✅(Solved) Fix [Bug]: Error: ENOENT: no such file or directory, open '.../openclaw/dist/package.json' [1 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#56892Fetched 2026-04-08 01:46:25
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Participants
Timeline (top)
cross-referenced ×1labeled ×1

PR fix notes

PR #213: Add upstream intelligence report from Scout

Description (problem / solution / changelog)

Added Scout report and journal files identifying inherited defects from the parent repository (openclaw/openclaw), including #56854, #56832, and #56892.


PR created automatically by Jules for task 7521594946744656005 started by @MillionthOdin16

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

Summary by CodeRabbit

  • Documentation
    • Added three new files documenting known issues, defect reports, and upstream problem tracking with detailed descriptions and impact assessments.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Changed files

  • .jules/scout.md (added, +14/-0)
  • openclaw_issues.txt (added, +100/-0)
  • scout-report.txt (added, +19/-0)
  • test_output.log (added, +964/-0)
RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

复现步骤

  1. npm install -g [email protected]
  2. 启动 gateway
  3. 观察日志或执行 openclaw memory search

预期行为

memory-lancedb 插件正常加载,dist/package.json 文件存在。

实际行为

文件缺失,插件加载失败。

环境信息

  • OS: Linux
  • Node.js: 22.22.0
  • OpenClaw: 2026.3.28

临时解决方案

回滚到 2026.3.24 版本可恢复正常。

Steps to reproduce

复现步骤

  1. npm install -g [email protected]
  2. 启动 gateway
  3. 观察日志或执行 openclaw memory search

预期行为

memory-lancedb 插件正常加载,dist/package.json 文件存在。

实际行为

文件缺失,插件加载失败。

环境信息

  • OS: Linux
  • Node.js: 22.22.0
  • OpenClaw: 2026.3.28

临时解决方案

回滚到 2026.3.24 版本可恢复正常。

Expected behavior

复现步骤

  1. npm install -g [email protected]
  2. 启动 gateway
  3. 观察日志或执行 openclaw memory search

预期行为

memory-lancedb 插件正常加载,dist/package.json 文件存在。

实际行为

文件缺失,插件加载失败。

环境信息

  • OS: Linux
  • Node.js: 22.22.0
  • OpenClaw: 2026.3.28

临时解决方案

回滚到 2026.3.24 版本可恢复正常。

Actual behavior

复现步骤

  1. npm install -g [email protected]
  2. 启动 gateway
  3. 观察日志或执行 openclaw memory search

预期行为

memory-lancedb 插件正常加载,dist/package.json 文件存在。

实际行为

文件缺失,插件加载失败。

环境信息

  • OS: Linux
  • Node.js: 22.22.0
  • OpenClaw: 2026.3.28

临时解决方案

回滚到 2026.3.24 版本可恢复正常。

OpenClaw version

2026.3.28

Operating system

Linux

Install method

No response

Model

Linux

Provider / routing chain

回滚到 2026.3.24 版本可恢复正常。

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

Fix Plan

To resolve the issue of the missing dist/package.json file and the failed loading of the memory-lancedb plugin, follow these steps:

  • Revert to a previous version of OpenClaw:
    1. Uninstall the current version: npm uninstall -g openclaw
    2. Install version 2026.3.24: npm install -g [email protected]
  • Verify the dist/package.json file existence: Check if the file is present after installing the previous version.
  • Update the plugin loading mechanism (if necessary): If the issue persists, consider updating the plugin loading code to handle version-specific changes.

Example code to check the file existence:

const fs = require('fs');
const path = require('path');

const packageJsonPath = path.join(__dirname, 'dist', 'package.json');
if (fs.existsSync(packageJsonPath)) {
  console.log('package.json file exists');
} else {
  console.log('package.json file is missing');
}

Verification

After applying the fix, verify that:

  • The dist/package.json file is present.
  • The memory-lancedb plugin loads successfully.

Extra Tips

  • Regularly check the OpenClaw version and update the plugin loading mechanism accordingly.
  • Consider implementing a fallback mechanism to handle version-specific issues.
  • Monitor the OpenClaw documentation and release notes for updates on plugin compatibility and version changes.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING