chrome-cookies-secure
chrome-cookies-secure copied to clipboard
Sqlite not working on Ubuntu 18.04
Error:
[Error: SQLITE_CANTOPEN: unable to open database file Emitted 'error' event on Database instance at: ]
Steps to reproduce:
-
npm init -y && npm i -S chrome-cookies-secure
echo "const chrome = require('chrome-cookies-secure'); \
const url = 'https://wallapop.com/'; \
chrome.getCookies(url, function (err, cookies) { \
console.log(cookies); \
}); " > index.js
-
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
Is this still an issue @josep11 ?
@rubengmurray I don't know, did not try it again with the same set up. It's been a while.