Dust Community Icon

Troubleshooting Dust CLI Installation Error on WSL/Ubuntu

·
·

I'm trying the new CLI (https://docs.dust.tt/changelog/%EF%B8%8F-new-dust-cli-tool), and not having much luck:

node:internal/modules/cjs/loader:1732
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: libsecret-1.so.0: cannot open shared object file: No such file or directory
    at Object..node (node:internal/modules/cjs/loader:1732:18)
    at Module.load (node:internal/modules/cjs/loader:1289:32)
    at Function._load (node:internal/modules/cjs/loader:1108:12)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
    at Module.require (node:internal/modules/cjs/loader:1311:12)
    at require (node:internal/modules/helpers:136:16)
    at Object.<anonymous> (/home/david/.nvm/versions/node/v22.14.0/lib/node_modules/@dust-tt/dust-cli/node_modules/keytar/lib/keytar.js:1:14)
    at Module._compile (node:internal/modules/cjs/loader:1554:14)
    at Object..js (node:internal/modules/cjs/loader:1706:10) {
  code: 'ERR_DLOPEN_FAILED'
}

This is on WSL/Ubuntu. Any thought what I'm doing wrong? Thanks!

  • Avatar of David Ebbo
    David Ebbo
    ·
    ·

    I got passed that with sudo apt install libsecret-1-0, though now it breaks on something else when I run dust login:

    ⠋ Initializing authentication...
    node:internal/process/promises:394
        triggerUncaughtException(err, true /* fromPromise */);
        ^
    
    [Error: Could not connect: No such file or directory]