openclaw - 💡(How to fix) Fix [Bug]: openclaw plugins install, npm hook pack

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…

npm install failed: npm error Cannot read properties of undefined (reading 'spec') npm error A complete log of this run can be found in: C:\Users\james\AppData\Local\npm-cache_logs\2026-05-08T08_06_21_641Z-debug-0.log Also not a valid hook pack: Error: package.json missing openclaw.hooks

openclaw plugins install "@tencent-weixin/openclaw-weixin@latest"

Error Message

npm install failed: npm error Cannot read properties of undefined (reading 'spec') npm error A complete log of this run can be found in: C:\Users\james\AppData\Local\npm-cache_logs\2026-05-08T08_06_21_641Z-debug-0.log Also not a valid hook pack: Error: package.json missing openclaw.hooks npm install failed: npm error Cannot read properties of undefined (reading 'spec') npm error A complete log of this run can be found in: C:\Users\james\AppData\Local\npm-cache_logs\2026-05-08T08_06_21_641Z-debug-0.log Also not a valid hook pack: Error: package.json missing openclaw.hooks

Root Cause

npm install failed: npm error Cannot read properties of undefined (reading 'spec') npm error A complete log of this run can be found in: C:\Users\james\AppData\Local\npm-cache_logs\2026-05-08T08_06_21_641Z-debug-0.log Also not a valid hook pack: Error: package.json missing openclaw.hooks

openclaw plugins install "@tencent-weixin/openclaw-weixin@latest"

RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

npm install failed: npm error Cannot read properties of undefined (reading 'spec') npm error A complete log of this run can be found in: C:\Users\james\AppData\Local\npm-cache_logs\2026-05-08T08_06_21_641Z-debug-0.log Also not a valid hook pack: Error: package.json missing openclaw.hooks

openclaw plugins install "@tencent-weixin/openclaw-weixin@latest"

Steps to reproduce

  1. npx -y @tencent-weixin/openclaw-weixin-cli@latest install or
  2. openclaw plugins install @tencent-weixin/openclaw-weixin

Expected behavior

successfully install this plugin

Actual behavior

npm install failed: npm error Cannot read properties of undefined (reading 'spec') npm error A complete log of this run can be found in: C:\Users\james\AppData\Local\npm-cache_logs\2026-05-08T08_06_21_641Z-debug-0.log Also not a valid hook pack: Error: package.json missing openclaw.hooks

openclaw plugins install "@tencent-weixin/openclaw-weixin@latest"

OpenClaw version

2026.05.7

Operating system

Windows11

Install method

No response

Model

deepseek

Provider / routing chain

weixinbot -> openclaw

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

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…

FAQ

Expected behavior

successfully install this plugin

Still need to ship something?

×6

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

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: openclaw plugins install, npm hook pack