sindresorhus/caprine

Caprine locks on all new messages

Open

#2,033 opened on Jul 21, 2023

View on GitHub
 (14 comments) (1 reaction) (0 assignees)TypeScript (601 forks)user submission
bughelp wanted

Repository metrics

Stars
 (7,365 stars)
PR merge metrics
 (No merged PRs in 30d)

Description


Caprine 2.57.4 Electron 24.1.3 linux 6.4.3-060403-generic Locale: en-US

every time i get a message on caprine it freezes and locks. every time. cant do anything really except restart it. not sure what is going on. i started carpine terminal to see error messages, this is what i get. dmeg shows no errors.

checkForUpdatesAndNotify called, downloadPromise is null
(node:6684) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of null (reading 'checked')
    at /opt/Caprine/resources/app.asar/dist-js/browser.js:208:34
    at async EventEmitter.listener (/opt/Caprine/resources/app.asar/node_modules/electron-better-ipc/source/renderer.js:46:34)
(Use `caprine --trace-warnings ...` to show where the warning was created)
(node:6684) 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: 1)

Contributor guide