openclaw - 💡(How to fix) Fix [Bug] v2026.4.1 build artifact hash mismatch breaks all Feishu message dispatch [2 comments, 2 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#59655Fetched 2026-04-08 02:42:05
View on GitHub
Comments
2
Participants
2
Timeline
6
Reactions
0
Author
Participants
Timeline (top)
commented ×2cross-referenced ×2mentioned ×1subscribed ×1

After upgrading from 2026.3.23-2 to 2026.4.1, all Feishu message dispatch fails with ERR_MODULE_NOT_FOUND. This affects both text and image messages across all configured Feishu agents (default + custom agents).

Error Message

Every Feishu message dispatch hits the same error:

Error [ERR_MODULE_NOT_FOUND]: Cannot find module
  '/opt/homebrew/lib/node_modules/openclaw/dist/apply.runtime-xkXhEPHr.js'
  imported from
  '/opt/homebrew/lib/node_modules/openclaw/dist/auth-profiles-B5ypC5S-.js'

The referenced files do not exist. The actual files in dist/ have different hashes:

Referenced (in import)Actual file on disk
apply.runtime-xkXhEPHr.jsapply.runtime-BFRAvIG_.js, apply.runtime-Dxbq4Hgg.js
auth-profiles-B5ypC5S-.jsauth-profiles-RS5GiWu3.js

Root Cause

After upgrading from 2026.3.23-2 to 2026.4.1, all Feishu message dispatch fails with ERR_MODULE_NOT_FOUND. This affects both text and image messages across all configured Feishu agents (default + custom agents).

Fix Action

Workaround

Downgrade to the previous version:

npm install -g [email protected]

This immediately resolves the issue.

Code Example

Error [ERR_MODULE_NOT_FOUND]: Cannot find module
  '/opt/homebrew/lib/node_modules/openclaw/dist/apply.runtime-xkXhEPHr.js'
  imported from
  '/opt/homebrew/lib/node_modules/openclaw/dist/auth-profiles-B5ypC5S-.js'

---

npm install -g openclaw@2026.3.23-2
RAW_BUFFERClick to expand / collapse

Description

After upgrading from 2026.3.23-2 to 2026.4.1, all Feishu message dispatch fails with ERR_MODULE_NOT_FOUND. This affects both text and image messages across all configured Feishu agents (default + custom agents).

Environment

  • OpenClaw version: 2026.4.1
  • Previous working version: 2026.3.23-2
  • Platform: macOS (darwin), installed via npm global
  • Install path: /opt/homebrew/lib/node_modules/openclaw/
  • Build stamp: da64a978e5814567f7797cc34fbe29b61b7eae7a (built at 1775062804264)

Error

Every Feishu message dispatch hits the same error:

Error [ERR_MODULE_NOT_FOUND]: Cannot find module
  '/opt/homebrew/lib/node_modules/openclaw/dist/apply.runtime-xkXhEPHr.js'
  imported from
  '/opt/homebrew/lib/node_modules/openclaw/dist/auth-profiles-B5ypC5S-.js'

The referenced files do not exist. The actual files in dist/ have different hashes:

Referenced (in import)Actual file on disk
apply.runtime-xkXhEPHr.jsapply.runtime-BFRAvIG_.js, apply.runtime-Dxbq4Hgg.js
auth-profiles-B5ypC5S-.jsauth-profiles-RS5GiWu3.js

Steps to Reproduce

  1. Upgrade to v2026.4.1: npm install -g [email protected]
  2. Start the gateway
  3. Send any message (text or image) to a configured Feishu bot
  4. Observe ERR_MODULE_NOT_FOUND in ~/.openclaw/logs/gateway.err.log

Impact

  • All message dispatch fails, not just images
  • Affects all configured Feishu channels (tested with both default and hkipo agents)
  • First failure observed at 2026-04-02T12:39:08+08:00, recurring on every message since
  • The Feishu bot appears online and receives messages, but silently fails to process them — no error is surfaced to the end user

Relevant Changelog Note

The v2026.4.1 changelog mentions:

"Image generation/build: write stable runtime alias files into dist/ and route provider-auth runtime lookups through those aliases so image-generation providers keep resolving auth/runtime modules after rebuilds instead of crashing on missing hashed chunk files."

This fix appears to not have taken effect — the exact problem it describes (missing hashed chunk files after rebuild) is what's happening.

Workaround

Downgrade to the previous version:

npm install -g [email protected]

This immediately resolves the issue.

extent analysis

TL;DR

Downgrade to version 2026.3.23-2 to resolve the ERR_MODULE_NOT_FOUND issue with Feishu message dispatch.

Guidance

  • The error ERR_MODULE_NOT_FOUND indicates that the module files referenced in the imports do not exist on disk, suggesting a potential issue with the build or installation process of [email protected].
  • The changelog note for v2026.4.1 mentions a fix for a similar issue, but it appears this fix did not take effect, leading to the same problem of missing hashed chunk files after rebuilds.
  • To verify the issue, check the dist/ directory for the existence of files referenced in the error message and compare them with the actual files present.
  • Consider reporting this issue to the maintainers of openclaw as the intended fix in v2026.4.1 does not seem to be working as expected.

Example

No specific code snippet is necessary for this issue, as the problem seems to be related to the installation or build process of the openclaw package rather than a code issue.

Notes

The provided workaround of downgrading to 2026.3.23-2 resolves the issue, suggesting that the problem is specific to version 2026.4.1. This could be due to a regression introduced in the newer version.

Recommendation

Apply the workaround by downgrading to version 2026.3.23-2 until a fixed version of openclaw is released that properly addresses the ERR_MODULE_NOT_FOUND issue. This is because the current version (2026.4.1) introduces a critical error that prevents Feishu message dispatch from working.

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