`mac-screen-capture-permissions` causing Unhandled Promise Rejection
See original GitHub issueSentry Issue: KAP-BPC
macOS version: Monterey (12) Kap version: 3.5.3
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 /Applications/Kap.app/Contents/Resources/app.asar/dist-js/index.js:102:65
Issue Analytics
- State:
- Created 2 years ago
- Reactions:13
- Comments:14 (3 by maintainers)
Top Results From Across the Web
Control access to screen recording on Mac - Apple Support
Choose Apple menu > System Settings, then click Privacy & Security in the sidebar.
Read more >Node.js v19.3.0 Documentation
If the function does not return a promise, assert.doesNotReject() will return a rejected Promise with an ERR_INVALID_RETURN_VALUE error. In both cases the error...
Read more >HTMLMediaElement.play() - Web APIs | MDN
Failure to begin playback for any reason, such as permission issues, result in the promise being rejected. Syntax. play()
Read more >React Native Camera shows blank screen with loading spinner
Unhandled promise rejection : Error: Tried to use permissions API but the host Activity doesn't implement PermissionAwareActivity.
Read more >Camera - Expo Documentation
With the use of Camera , one can also take photos and record videos that are then saved to the app's cache. Morever,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As a troubleshooting step I tried manually granting Kap screen recording access (System Prefs -> Security -> Screen Recording -> Click ‘+’ and add Kap.app), but that did not help unfortunately
I’m running macOS 12.3 on an M1 Pro MacBook
Hi, tested on Macbook Pro 2021 (arm CPU, MacOS Mojave) with Kap 3.5.5 as suggested by @thethomasz:
PS: To install Rosetta, run
softwareupdate --install-rosetta --agree-to-license