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:
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
(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
Try these steps:
1. First, make sure you're on the latest version:
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:Try these steps:
1. First, make sure you're on the latest version:
