#Fresh install with pnpm is failing

1 messages Β· Page 1 of 1 (latest)

north vortex
#

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

quartz fableBOT
#
  1. If that doesn't help, check for merge conflicts - the repo shows there are unmerged paths which could cause build issues:

    cd clawdbot && git status
    
  2. If there are merge conflicts, you may need to resolve them or reset:

    git merge --abort  # if you want to cancel the merge
    # or
    git pull --rebase  # or pull with rebase to get latest changes
    
  3. After updating, try building again:

    pnpm install && pnpm run build