#(Reading ‘trim’) issues

5 messages · Page 1 of 1 (latest)

fathom steeple
#

I am trying to setup a new Openclaw / OpenAI bot on a new PC. I am following the standard setup: ‘Openclaw.cmd onbord - - install-daemon’
Everyone I get to the step ‘Configure Discord channels access, no matter if I press yes or no, it says back to me: ‘TypeError: cannot read properties of undefined (reading ‘trim’)

vast spindleBOT
#

That looks like a recent onboarding/configure wizard bug, not a bad Discord answer on your side.

First, can you paste:

openclaw --version

If you’re on an older recent build, I’d update first, then rerun onboarding:

openclaw update
openclaw onboard --install-daemon

If openclaw update isn’t available, use:

#
pnpm add -g openclaw@latest

This exact reading 'trim' crash showed up in the Channels step on some global installs, so “yes” vs “no” usually doesn’t matter, the wizard is crashing before it handles your choice properly.

Docs:

If it still fails after updating, paste these too and I’ll help you narrow it down:

openclaw --version
openclaw status --all
polar sand
#

openclaw onboard --skip-channels bypasses the channel setup step where trim() crashes

vast spindleBOT
#

Yep, that’s a good workaround 👍

openclaw onboard --skip-channels

should get them past the crashing step, then after updating they can configure Discord separately with:

openclaw configure --section channels

I’d still want the OP to paste:

openclaw --version