Summary
The built-in diagnostics-otel plugin service failed. Initially it reported missing OTEL modules. I installed the required dependencies manually, but now it fails with:
TypeError: _resources.Resource is not a constructor
Steps to reproduce
- Install OpenClaw via curl -fsSL https://openclaw.ai/install.sh | bash
- Start gateway (LaunchAgent)
- Observe logs for diagnostics-otel
Expected behavior
diagnostics-otel works successfully without any error log.
Actual behavior
plugin service failed; errors continue after reinstall/update.
Environment
• OpenClaw: 2026.2.6-3
• OS: macOS 15.5 (arm64)
• Node: 22.22.0
• Install method: curl -fsSL https://openclaw.ai/install.sh | bash (npm global install under /opt/homebrew/lib/node_modules/openclaw)
• Plugin: built-in @openclaw/diagnostics-otel (bundled)
Logs or screenshots
2026-02-08T11:59:02.126Z error plugins {"subsystem":"plugins"} plugin service failed (diagnostics-otel): TypeError: _resources.Resource is not a constructor
Notes
It looks like the diagnostics-otel plugin’s dependency tree might be out of sync with the bundled build, or uses a different OTEL major version where Resource is no longer a constructor. But I don't know how to handle it.
Summary
The built-in diagnostics-otel plugin service failed. Initially it reported missing OTEL modules. I installed the required dependencies manually, but now it fails with:
Steps to reproduce
Expected behavior
diagnostics-otel works successfully without any error log.
Actual behavior
plugin service failed; errors continue after reinstall/update.
Environment
• OpenClaw: 2026.2.6-3
• OS: macOS 15.5 (arm64)
• Node: 22.22.0
• Install method: curl -fsSL https://openclaw.ai/install.sh | bash (npm global install under /opt/homebrew/lib/node_modules/openclaw)
• Plugin: built-in @openclaw/diagnostics-otel (bundled)
Logs or screenshots
2026-02-08T11:59:02.126Z error plugins {"subsystem":"plugins"} plugin service failed (diagnostics-otel): TypeError: _resources.Resource is not a constructor
Notes
It looks like the diagnostics-otel plugin’s dependency tree might be out of sync with the bundled build, or uses a different OTEL major version where Resource is no longer a constructor. But I don't know how to handle it.