openclaw - 💡(How to fix) Fix [Bug]: QR CODE error for WhatsApp pairing [1 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#75833Fetched 2026-05-02 05:29:21
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
2
Timeline (top)
labeled ×2closed ×1commented ×1

After upgrading from 2026.4.26 to 2026.4.29, Whatsapp QR code for paring device is not working. Terminal does not show anything during onboard process and in the Web Interface I get this error when clicking in "Show QR' in the Channels: Failed to render the WhatsApp QR: Cannot find package 'qrcode' imported from /Users/peregrineagile/.openclaw/plugin-runtime-deps/openclaw-2026.4.29-da6bdffc3d96/dist/qr-terminal-DI6mj_pL.js Did you mean to import "qrcode/lib/index.js"?

Error Message

Terminal does not show anything during onboard process and in the Web Interface I get this error when clicking in "Show QR' in the Channels: No QR Code on the terminal, and this error message on the Web UI: Failed to render the WhatsApp QR: Cannot find package 'qrcode' imported from /Users/peregrineagile/.openclaw/plugin-runtime-deps/openclaw-2026.4.29-da6bdffc3d96/dist/qr-terminal-DI6mj_pL.js Did you mean to import "qrcode/lib/index.js"?

Root Cause

After upgrading from 2026.4.26 to 2026.4.29, Whatsapp QR code for paring device is not working. Terminal does not show anything during onboard process and in the Web Interface I get this error when clicking in "Show QR' in the Channels: Failed to render the WhatsApp QR: Cannot find package 'qrcode' imported from /Users/peregrineagile/.openclaw/plugin-runtime-deps/openclaw-2026.4.29-da6bdffc3d96/dist/qr-terminal-DI6mj_pL.js Did you mean to import "qrcode/lib/index.js"?

RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

After upgrading from 2026.4.26 to 2026.4.29, Whatsapp QR code for paring device is not working. Terminal does not show anything during onboard process and in the Web Interface I get this error when clicking in "Show QR' in the Channels: Failed to render the WhatsApp QR: Cannot find package 'qrcode' imported from /Users/peregrineagile/.openclaw/plugin-runtime-deps/openclaw-2026.4.29-da6bdffc3d96/dist/qr-terminal-DI6mj_pL.js Did you mean to import "qrcode/lib/index.js"?

Steps to reproduce

  1. Run onboard process
  2. Select Whatsapp or
  3. Open Webinterface
  4. Select Channels
  5. On whatsApp click Show QR

Expected behavior

In 2026.4.26 the QR code shows properly

Actual behavior

No QR Code on the terminal, and this error message on the Web UI: Failed to render the WhatsApp QR: Cannot find package 'qrcode' imported from /Users/peregrineagile/.openclaw/plugin-runtime-deps/openclaw-2026.4.29-da6bdffc3d96/dist/qr-terminal-DI6mj_pL.js Did you mean to import "qrcode/lib/index.js"?

OpenClaw version

2026.4.29

Operating system

macOS 26.4.1

Install method

npm

Model

ollama/qwen3.6:35b

Provider / routing chain

openclaw > channels > Whatsapp (QR Code)

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

Affected: Whatsapp users (new users)

Additional information

<img width="771" height="841" alt="Image" src="https://github.com/user-attachments/assets/808584bc-23dd-4964-8dc8-6919c25a2cfc" />

extent analysis

TL;DR

The issue is likely due to a missing or incorrect import of the 'qrcode' package in the updated OpenClaw version, and a potential workaround is to manually adjust the import statement.

Guidance

  • Verify the import statement in the qr-terminal-DI6mj_pL.js file to ensure it is correctly importing the 'qrcode' package.
  • Check the package.json file to confirm that the 'qrcode' package is installed and up-to-date.
  • Consider downgrading to the previous OpenClaw version (2026.4.26) to see if the issue persists, which could help isolate the problem.
  • Review the error message's suggestion to import "qrcode/lib/index.js" instead, and test if this resolves the issue.

Example

No code snippet is provided as the issue does not contain sufficient code context.

Notes

The issue seems to be related to the update from OpenClaw version 2026.4.26 to 2026.4.29, and the error message specifically points to an import issue with the 'qrcode' package.

Recommendation

Apply workaround: The best course of action seems to be adjusting the import statement as suggested by the error message, or exploring other workarounds to correctly import the 'qrcode' package, as downgrading might not be a viable long-term solution.

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

In 2026.4.26 the QR code shows properly

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]: QR CODE error for WhatsApp pairing [1 comments, 2 participants]