Bug type
Regression (worked before, now fails)
Summary
OpenClaw fails to start on Windows with module initialization error: CHANNEL_IDS is not iterable
Steps to reproduce
- Clone OpenClaw repository on Windows
- Run
pnpm install
- Run
node scripts/tsdown-build.mjs
- Run
node scripts/runtime-postbuild.mjs
- Run
pnpm start
Expected behavior
OpenClaw should start successfully without any initialization errors
Actual behavior
Failed to start CLI: ReferenceError: Cannot access 'CHANNEL_IDS' before initialization
at validateConfigObjectWithPluginsBase (dist/auth-profiles-zaVVXKw4.js:164584:6)
Also getting: TypeError: CHAT_CHANNEL_ORDER is not iterable
at dist/auth-profiles-zaVVXKw4.js:141759:6
OpenClaw version
2026.3.14
Operating system
Windows 10 (Build 26200)
Install method
pnpm dev
Model
N/A - This is a build/initialization issue, not model-specific
Provider / routing chain
N/A - Application fails to start before reaching this stage
Config file / key location
No response
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response
Bug type
Regression (worked before, now fails)
Summary
OpenClaw fails to start on Windows with module initialization error: CHANNEL_IDS is not iterable
Steps to reproduce
pnpm installnode scripts/tsdown-build.mjsnode scripts/runtime-postbuild.mjspnpm startExpected behavior
OpenClaw should start successfully without any initialization errors
Actual behavior
Failed to start CLI: ReferenceError: Cannot access 'CHANNEL_IDS' before initialization
at validateConfigObjectWithPluginsBase (dist/auth-profiles-zaVVXKw4.js:164584:6)
Also getting: TypeError: CHAT_CHANNEL_ORDER is not iterable
at dist/auth-profiles-zaVVXKw4.js:141759:6
OpenClaw version
2026.3.14
Operating system
Windows 10 (Build 26200)
Install method
pnpm dev
Model
N/A - This is a build/initialization issue, not model-specific
Provider / routing chain
N/A - Application fails to start before reaching this stage
Config file / key location
No response
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response