#Can't run onboarding due to error

1 messages · Page 1 of 1 (latest)

vernal snow
#

[grantgochnauer:~]$ npm install -g clawdbot@latest
(node:3836) ExperimentalWarning: CommonJS module /Users/grantgochnauer/.nvm/versions/node/v23.2.0/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /Users/grantgochnauer/.nvm/versions/node/v23.2.0/lib/node_modules/npm/node_modules/supports-color/index.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use node --trace-warnings ... to show where the warning was created)
npm warn deprecated npmlog@6.0.2: This package is no longer supported.
npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.
npm warn deprecated gauge@4.0.4: This package is no longer supported.
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead

added 649 packages in 35s

115 packages are looking for funding
run npm fund for details
[grantgochnauer:~]$ clawdbot onboard --install-daemon
[clawdbot] Failed to start CLI: Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:sqlite
at ModuleLoader.builtinStrategy (node:internal/modules/esm/translators:360:11)
at #translate (node:internal/modules/esm/loader:437:12)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:484:27)
[grantgochnauer:~]$

maiden oasisBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

mild schoonerBOT
# vernal snow [grantgochnauer:~]$ npm install -g clawdbot@latest (node:3836) ExperimentalWarni...

The error ERR_UNKNOWN_BUILTIN_MODULE: No such built-in module: node:sqlite happens because you're using Node.js v23.2.0, which may have an issue with the experimental node:sqlite module on certain systems.

Solution: Downgrade to Node.js v22 (LTS), which is the recommended runtime for Clawdbot.

Quick fix:

nvm use 22
npm install -g clawdbot@latest
clawdbot onboard --install-daemon

If you don't have nvm:

# Install nvm first if needed
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
source ~/.bashrc  # or ~/.zshrc
#

# Then install and use Node 22
nvm install 22
nvm use 22

The Clawdbot package.json specifies "node": ">=22.12.0" as the required runtime. Node 23 is still relatively new and can have compatibility issues with native modules like SQLite.

Let me know if that resolves it! 🦐

vernal snow
#

That worked, thanks