Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running dcli #198

Closed
hamburgerghini1 opened this issue Nov 26, 2023 · 2 comments
Closed

Error when running dcli #198

hamburgerghini1 opened this issue Nov 26, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@hamburgerghini1
Copy link

Describe the bug
Got this error after installing from brew and running dcli.

pkg/prelude/bootstrap.js:1872
throw error;
^

Error: Cannot find module '@napi-rs/keyring-linux-x64-gnu'
Require stack:

  • /snapshot/dashlane-cli-1.15.0/node_modules/@napi-rs/keyring/index.js
  • /snapshot/dashlane-cli-1.15.0/dist/modules/crypto/keychainManager.js
  • /snapshot/dashlane-cli-1.15.0/dist/modules/database/reset.js
  • /snapshot/dashlane-cli-1.15.0/dist/modules/database/connectAndPrepare.js
  • /snapshot/dashlane-cli-1.15.0/dist/modules/database/index.js
  • /snapshot/dashlane-cli-1.15.0/dist/command-handlers/backup.js
  • /snapshot/dashlane-cli-1.15.0/dist/command-handlers/index.js
  • /snapshot/dashlane-cli-1.15.0/dist/commands/devices.js
  • /snapshot/dashlane-cli-1.15.0/dist/commands/index.js
  • /snapshot/dashlane-cli-1.15.0/dist/index.js
  1. If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
    at Module._resolveFilename (node:internal/modules/cjs/loader:946:15)
    at Function._resolveFilename (pkg/prelude/bootstrap.js:1951:46)
    at Module._load (node:internal/modules/cjs/loader:787:27)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at Module.require (pkg/prelude/bootstrap.js:1851:31)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object. (/snapshot/dashlane-cli-1.15.0/node_modules/@napi-rs/keyring/index.js:190:31)
    at Module._compile (node:internal/modules/cjs/loader:1112:14)
    at Module._compile (pkg/prelude/bootstrap.js:1933:32)
    at Module._extensions..js (node:internal/modules/cjs/loader:1166:10) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/snapshot/dashlane-cli-1.15.0/node_modules/@napi-rs/keyring/index.js',
    '/snapshot/dashlane-cli-1.15.0/dist/modules/crypto/keychainManager.js',
    '/snapshot/dashlane-cli-1.15.0/dist/modules/database/reset.js',
    '/snapshot/dashlane-cli-1.15.0/dist/modules/database/connectAndPrepare.js',
    '/snapshot/dashlane-cli-1.15.0/dist/modules/database/index.js',
    '/snapshot/dashlane-cli-1.15.0/dist/command-handlers/backup.js',
    '/snapshot/dashlane-cli-1.15.0/dist/command-handlers/index.js',
    '/snapshot/dashlane-cli-1.15.0/dist/commands/devices.js',
    '/snapshot/dashlane-cli-1.15.0/dist/commands/index.js',
    '/snapshot/dashlane-cli-1.15.0/dist/index.js'
    ],
    pkg: true
    }

Node.js v18.5.0

To Reproduce
Steps to reproduce the behavior:

  1. Run 'dcli'
  2. See error

Environment (please complete the following information):

  • OS: Fedora 39
@hamburgerghini1 hamburgerghini1 added the bug Something isn't working label Nov 26, 2023
@Mikescops
Copy link
Member

Hello,

Thanks for reporting, I haven't tested brew for linux on this OS. I'll have a look.

Meanwhile I recommend using the linux binary from the release: https://github.com/Dashlane/dashlane-cli/releases/tag/v1.15.0

@Mikescops
Copy link
Member

Hello @hamburgerghini1,

I took the time to test on Fedora 40 with the release 6.2421.0 and everything was working well.

image

I'm closing this issue for now, feel free to reopen if you find something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants