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 #1070

Open
chrszlz opened this issue Jan 4, 2022 · 8 comments
Open

Unhandled Promise Rejection #1070

chrszlz opened this issue Jan 4, 2022 · 8 comments
Labels

Comments

@chrszlz
Copy link

chrszlz commented Jan 4, 2022

Sentry Issue: KAP-ATG

macOS version: Monterey (12)
Kap version: 3.5.1

Unhandled Promise Rejection

Error: Command was killed with SIGTRAP: /Applications/Kap.app/Contents/Resources/app.asar.unpacked/node_modules/mac-screen-capture-permissions/screen-capture-permissions
    at makeError (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/mac-screen-capture-permissions/node_modules/execa/lib/error.js:59:11)
    at Function.module.exports.sync (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/mac-screen-capture-permissions/node_modules/execa/index.js:187:17)
    at exports.hasScreenCapturePermission (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/mac-screen-capture-permissions/index.js:27:25)
    at Object.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:31)
    at Object.openCropperWindow (/Applications/Kap.app/Contents/Resources/app.asar/dist-js/tray.js:18:129)

MacBook Pro (14-inch, 2021)
Apple M1 Max
macOS - 12.0.1 (21A559)

Menu bar app loads. Preferences and all native system windows work. Clicking primary action in menu bar immediately crashes

@timrogers
Copy link

This one is hitting me as soon as I open the app, before I see any menu bar item, preferences, etc. I have a 2022 16" M1 Max MacBook Pro.

@jlingertat
Copy link

same here.
Is these a fix for it?

@djpowers
Copy link

I'm experiencing this issue as well, also seeing it on an Apple M1 MacBook Pro. This device does not have Rosetta 2 installed. It is working on a different M1 machine that is using Rosetta, so I wonder if that may have something to do with it.

@brittanyjoiner15
Copy link

Also hitting this 😭

@codercodingthecode
Copy link

Still a problem today from January.
I will look into this next week if no resolution yet by then.

@KittyLomas
Copy link

still experiencing this. had to reset my computer and therefore redownload kap and now I can't open it. getting error below.

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) 

Included a screenshot of the version of my macbook

Screen Shot 2024-06-11 at 4 48 42 pm

@yusuftryoto
Copy link

same with mac os 15.0 seqouia

@codercodingthecode
Copy link

codercodingthecode commented Sep 20, 2024

I just provided a fix for this.
check here #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

9 participants