Fresh install with pnpm is failing

When executing: cd clawdbot && pnpm install && pnpm run build
(after cloning the repo)
It gives me the following error:

clawdbot@2026.1.17-1 build /home/piraces/clawdbot
tsc -p tsconfig.json && node --import tsx scripts/canvas-a2ui-copy.ts && node --import tsx scripts/copy-hook-metadata.ts && node --import tsx scripts/write-build-info.ts

src/gateway/test-helpers.mocks.ts:289:28 - error TS2339: Property 'allowFrom' does not exist on type '{}'.

289 mergedWhatsApp.allowFrom = testState.allowFrom;
~~~~~


Found 1 error in src/gateway/test-helpers.mocks.ts:289
Solution
Based on my investigation, the allowFrom issue you're encountering appears to be related to how the WhatsApp configuration is being typed in the test helpers. The current code at line 275 looks correct:

channels: {
  whatsapp: {
    allowFrom: testState.allowFrom,
  },
},


Try these steps:

1. First, make sure you're on the latest version:
   cd clawdbot && git pull
Was this page helpful?