wulkano / Kap

An open-source screen recorder built with web technology
https://getkap.co
MIT License
17.75k stars 816 forks source link

Unhandled Promise Rejection #1193

Open JamesMilazzo opened 8 months ago

JamesMilazzo commented 8 months ago

Sentry Issue: KAP-BPX

macOS version: Unknown () Kap version: 3.6.0

Unhandled Promise Rejection

TypeError: Cannot destructure property 'filePath' of 'exports.recordingHistory.get(...)' as it is undefined.
    at stopCurrentRecording (/Applications/Kap.app/Contents/Resources/app.asar/dist-js/recording-history.js:96:13)
    at stopRecording (/Applications/Kap.app/Contents/Resources/app.asar/dist-js/aperture.js:186:54)
egoens commented 8 months ago

I closed my issue so I can keep this issue on track. I am experiencing the same (or similar) error on an M1 Mac:

Unhandled Promise Rejection
Error: Command failed: /Applications/Kap.app/Contents/Resources/app.asar.unpacked/node_modules/mac-screen-capture-permissions/screen-capture-permissions
spawnSync /Applications/Kap.app/Contents/Resources/app.asar.unpacked/node_modules/mac-screen-capture-permissions/screen-capture-permissions Unknown system error -86
    at Function.module.exports.sync (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/mac-screen-capture-permissions/node_modules/execa/index.js:168:25)
    at exports.hasScreenCapturePermission (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/mac-screen-capture-permissions/index.js:27:25)
    at ensureScreenCapturePermissions (/Applications/Kap.app/Contents/Resources/app.asar/dist-js/common/system-permissions.js:64:23)
    at Object.openCropperWindow [as open] (/Applications/Kap.app/Contents/Resources/app.asar/dist-js/windows/cropper.js:81:66)
    at Object.openCropperWindow (/Applications/Kap.app/Contents/Resources/app.asar/dist-js/tray.js:26:129)

image

GilangIRSYD commented 3 months ago

open terminal and run softwareupdate --install-rosetta --agree-to-license