bertrandom / chrome-cookies-secure

Extract encrypted Google Chrome cookies for a url on a Mac or Linux
https://www.npmjs.com/package/chrome-cookies-secure
MIT License
147 stars 51 forks source link

Sqlite not working on Ubuntu 18.04 #33

Open josep11 opened 3 years ago

josep11 commented 3 years ago

Error:

[Error: SQLITE_CANTOPEN: unable to open database file Emitted 'error' event on Database instance at: ]

Steps to reproduce:

  1. npm init -y && npm i -S chrome-cookies-secure
  2. echo "const chrome = require('chrome-cookies-secure'); \
    const url = 'https://wallapop.com/'; \
    chrome.getCookies(url, function (err, cookies) { \
    console.log(cookies); \
    }); " > index.js
  3. node index.js

Versions: Ubuntu 18.04.1 (Virtual Machine) Node.js v14.17.4 (also tried with v16.3.0)

Extra info: I also tried on Mac OS 10.14 and it worked fine

rubengmurray commented 4 months ago

Is this still an issue @josep11 ?

josep11 commented 4 months ago

@rubengmurray I don't know, did not try it again with the same set up. It's been a while.