Description
Hi,
I'm on mac os Sonoma. Electron just sits there waiting for the chromium to authorize whatsapp web.
getting this on terminal:
"
(openwebui) petriml@iMac-Pro LLM-for-Whatsapp % yarn run dev
yarn run v1.22.22
$ electron --inspect=5858 ./app
Debugger listening on ws://127.0.0.1:5858/542aa300-51f9-4e70-8f51-701e8b1c349b
For help, see: https://nodejs.org/en/docs/inspector
2024-11-01 21:49:24.332 Electron[65329:1943533] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:.
(node:65329) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of null (reading '1')
at LocalWebCache.persist (/Users/petriml/LLM-for-Whatsapp/app/node_modules/whatsapp-web.js/src/webCache/LocalWebCache.js:34:69)
at /Users/petriml/LLM-for-Whatsapp/app/node_modules/whatsapp-web.js/src/Client.js:744:36
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
(Use Electron --trace-warnings ...
to show where the warning was created)
(node:65329) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) "
Nothing happens after I've logged in to whatsapp web on Chromium window.
Should I allow some accessibility etc options in the "privacy and security" settings on mac os? Usually
os reports beforehand if app need accessibility options enabled for the app.
Activity