Bug Report
OpenClaw version: 2026.4.22
Error: [tools] read failed: EISDIR / avily failed to load
Description
The avily extension fails to load at startup with the following error:
[plugins] tavily failed to load from C:\Users\Administrator\AppData\Local\nvm\v22.22.2\node_modules\openclaw\dist\extensions\tavily\node_modules\typebox\build\type\engine\object\index.mjs: Error: Cannot find module './collapse.mjs'
Root Cause
In the bundled ypebox package, the file �uild/type/engine/object/index.mjs contains:
js export * from './collapse.mjs';
However, collapse.mjs does not exist in the compiled output. Only the type declaration file collapse.d.mts is present — the actual runtime .mjs file is missing.
Files Affected
- openclaw/dist/extensions/tavily/node_modules/typebox/build/type/engine/object/index.mjs — exports collapse.mjs
- openclaw/dist/extensions/tavily/node_modules/typebox/build/type/engine/object/collapse.d.mts — type declaration exists
- openclaw/dist/extensions/tavily/node_modules/typebox/build/type/engine/object/collapse.mjs — MISSING
Impact
- Gateway starts but avily extension fails to load
- Tavily web search is unavailable
- Other search methods (Brave web_search) work fine
- Not a critical failure, but a build/compilation oversight
Suggested Fix
- Ensure collapse.mjs is included in the typebox build output, OR
- Temporarily remove the �xport * from './collapse.mjs' line from index.mjs if CollapseToObject is not actively used.
Bug Report
OpenClaw version: 2026.4.22
Error: [tools] read failed: EISDIR / avily failed to load
Description
The avily extension fails to load at startup with the following error:
[plugins] tavily failed to load from C:\Users\Administrator\AppData\Local\nvm\v22.22.2\node_modules\openclaw\dist\extensions\tavily\node_modules\typebox\build\type\engine\object\index.mjs: Error: Cannot find module './collapse.mjs'Root Cause
In the bundled ypebox package, the file �uild/type/engine/object/index.mjs contains:
js export * from './collapse.mjs';However, collapse.mjs does not exist in the compiled output. Only the type declaration file collapse.d.mts is present — the actual runtime .mjs file is missing.
Files Affected
Impact
Suggested Fix