Migrate from source install to default npm

I'm trying to move away from manual git source install / update process and instead use the recommended npm install.

Whenever I run curl -fsSL https://clawd.bot/install.sh | bash -s -- --install-method npm --no-onboard I get this error:

Running doctor to migrate settings...
node:internal/modules/cjs/loader:1424
  throw err;
  ^

Error: Cannot find module '/Users/chasegiunta/git/clawdbot/dist/entry.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1421:15)
    at defaultResolveImpl (node:internal/modules/cjs/loader:1059:19)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1064:22)
    at Module._load (node:internal/modules/cjs/loader:1227:37)
    at TracingChannel.traceSync (node:diagnostics_channel:328:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
    at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
    at node:internal/main/run_main_module:33:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}


I deleted the entire dist folder in the old source git repo, and probably that was a mistake... ๐Ÿ˜ฌ
Was this page helpful?