Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Promise Rejection #1193

Open
JamesMilazzo opened this issue Oct 20, 2023 · 3 comments
Open

Unhandled Promise Rejection #1193

JamesMilazzo opened this issue Oct 20, 2023 · 3 comments
Labels

Comments

@JamesMilazzo
Copy link

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
Copy link

egoens commented Oct 27, 2023

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
Copy link

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

@codercodingthecode
Copy link

no need for rosetta, see this #1231

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants