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

Kap is not working in the latest MacOS version #1063

Open
jgonzalezalbisu opened this issue Dec 14, 2021 · 45 comments
Open

Kap is not working in the latest MacOS version #1063

jgonzalezalbisu opened this issue Dec 14, 2021 · 45 comments

Comments

@jgonzalezalbisu
Copy link

Recording error
Error: Could not start recording within 5 seconds
at Timeout._onTimeout (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/aperture/index.js:132:19)

@disler
Copy link

disler commented Dec 15, 2021

Same

@joergRossdeutscher
Copy link

Same.
Additionally I tried to download latest Version from https://getkap.co/ , but it gives me a version not executable on BigSure/Intel (CMD-I says: „Programm (Apple Chips)“, App has „No parking icon“)

@theapache64
Copy link

theapache64 commented Dec 16, 2021

Recording error
Error: Could not start recording within 5 seconds
at Timeout._onTimeout (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/aperture/index.js:132:19)

Suddenly Kap stopped working with above crash

@SidKH
Copy link

SidKH commented Dec 16, 2021

Downgraded to v3.4.2. It seems to work fine.

https://github.com/wulkano/Kap/releases/tag/v3.4.2

@joergRossdeutscher
Copy link

Downgrading was a bit irritating for me, because it kept asking for permissions it had over and over, but finally it worked.

@B3DTech
Copy link

B3DTech commented Dec 17, 2021

Why is it when I click download on the web page, it's automatically downloading the arm64 version? I'm running 12.1 beta, but on an Intel Mac.

@rogerleung0411
Copy link

Same here.

@timothyis
Copy link
Member

@B3DTech Working on that in #1067 🙏🏼

@theapache64
Copy link

@SidKH Works well. Thanks

@jkincheloe33
Copy link

Any update on a fix?

@deskid
Copy link

deskid commented Jan 5, 2022

Any progress ?

@miliberlin
Copy link

It's still not running. I miss Kap.

@jgonzalezalbisu
Copy link
Author

Using the version https://github.com/wulkano/Kap/releases/tag/v3.4.2 works fine. You can still use it and wait for a fix for the latest version. Let's be patient!!

@brittanyjoiner15
Copy link

brittanyjoiner15 commented Jan 6, 2022

I deleted an older version because it was broken, and i can't reinstall - not even the 3.4.2 version😭

Keep getting this error
image

Super bummed 😭 I really miss it and I can't even find an alternative that i like. You've made a really cool product! Would be happy to pay for it.

EDIT: after looking around, i found apparently right clicking on "open" will override this and let you open it even if you're getting that error. I then had to do a little dance with system preferences and permissions but i think i have eventually got it working now. Just in case that helps anyone else.

@klonos
Copy link

klonos commented Jan 7, 2022

@brittanyjoiner15 when you get the error above, try these steps:

  1. click the "Show in Finder" option (which should take you to your Applications folder, with Kap selected)
  2. right-click on the Kap app file (do NOT double-click), and select "Open" from the menu
  3. there should be a warning, but confirming it should get Kap running

@brittanyjoiner15
Copy link

@klonos yep it appears that does work! thanks for sharing that!

@alechko
Copy link

alechko commented Jan 9, 2022

Getting this error as well with Kap 3.5.1 on macos 12.0.1.

I really want Kap to work and I have a question about using an older version. Currently Kap installed w brew and auto updates on, but older versions are not available in brew.
Should I download the v3.4.2 release .app and override my current .app or should I remove from brew first and then install the old version?

Thanks!

@jgonzalezalbisu
Copy link
Author

Hi @alechko ,

Please remove the one you installed with brew and then install the version mentioned here by downloading it.

Hope this helps!

@alechko
Copy link

alechko commented Jan 9, 2022

@jgonzalezalbisu thanks! I will do that

@joergRossdeutscher
Copy link

joergRossdeutscher commented Jan 10, 2022

Multiple issues have been filed about that problem here. Look a bit around, in one of those threads someone has posted how to force brew to use a working version.
(Edit: Lots of typos…)

@adiun
Copy link

adiun commented Jan 17, 2022

Just want to mention/clarify a few things since I tried following this thread:

I tried the latest version of Kap (3.5.1) and it had this error.

  • Only version 3.4.2 will work

After downloading and you keep seeing the can't be opened prompt even after following the steps in this comment:

  • Many posts out there will say to go through System Prefs -> Security & Privacy -> General -> Open Anyway. This didn't work for me.
  • What did work for me was going through the terminal and running xattr -d com.apple.quarantine /Applications/Kap.app. Then you will get the Kap wants to record your screen, go to System Preferences and enable it for Screen Recording.

Now it works great. Thanks for making an awesome tool, it has helped me out a lot!

@sindresorhus
Copy link
Contributor

Can you try out the latest version? https://github.com/wulkano/Kap/releases/tag/v3.5.2

@sentry-io
Copy link

sentry-io bot commented Jan 18, 2022

Sentry issue: KAP-B8E

@joshjohanning
Copy link

3.5.2 didn't work for me (Apple M1, macOS 12.1)

@Siddharth11
Copy link

Can you try out the latest version? https://github.com/wulkano/Kap/releases/tag/v3.5.2

@sindresorhus It didn't work for me either. System specs 👇

Screen Shot 2022-01-18 at 11 49 16 PM

@jonwonglam
Copy link

3.5.2 is working for me on macOS 12.1, Apple M1. 16" M1X

@alechko
Copy link

alechko commented Jan 20, 2022

3.5.2 is not working properly for me on macOS 12.0.1 macbook pro intel i7

it recorded once on the first launch after upgrading from 3.4.2 but then the same error appeared on second record attempt.

not sure if related, but the 3.5.* versions are super slow compared to 3.4.2, almost unresponsive. between triggering kap either from taskbar or by keyboard shortcut there's a delay of few seconds followed by a loading mouse icon for another few seconds and then the selection window appears with the floating menu.
in 3.4.2 this process takes >1s while on 3.5.2 it takes ~15s.

Recording error Error: Could not start recording within 5 seconds at Timeout._onTimeout (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/aperture/index.js:132:19)

Edit: not working on macOS 12.1 as well

@mbukh
Copy link

mbukh commented Jan 23, 2022

Error: Could not start recording within 5 seconds
at Timeout._onTimeout (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/aperture/index.js:132:19)

Model Name: MacBook Pro
Model Identifier: MacBookPro15,1
Processor Name: 8-Core Intel Core i9
Processor Speed: 2.3 GHz
MACOS 12.1

@Gbuomprisco
Copy link

Hi guys, I'm getting the same error. I installed version 3.4.0, but then it automatically updated 😬 Anyone know how to disable that while the new version is broken?

@schmod
Copy link

schmod commented Jan 31, 2022

Downgrading to 3.4.2 fixed most of the issues I've been having (including the extremely sluggish performance of 3.5.2)

I had to manually approve the new (old) version in the MacOS "Security & Privacy" preferences.

I also needed to revoke and re-grant Screen Recording permissions (also in the Security preferences). I'm guessing the version downgrade somehow confused MacOS.

@verpixelt
Copy link

Get the same Could not start recording within 5 seconds error. I've tried downgrading to the mentioned 3.4.2 but macOS won't let me open it (macOS Monterey 12.1). It won't show up in Security & Privacy either.
image

@ndpta
Copy link

ndpta commented Feb 5, 2022

Getting this error from time to time:
Unhandled Promise Rejection

How to stop it?

Version: 3.4.1 (3.4.1.1771) (newer version doesn't work)
on both i5 and i7 MacBook Pros
Monterey 12.2

Screenshot 2022-02-05 at 5 29 48 PM

@fers4t
Copy link

fers4t commented Mar 24, 2022

Both of latest version and 3.4.2 doesn't working on my latest version MacBook m1 :/

@fers4t
Copy link

fers4t commented May 16, 2022

Any update? 🙁

@svengreb
Copy link

svengreb commented May 17, 2022

This has been resolved for a few months now with version 3.5.4 which works totally fine on Apple Silicon (my system is a MacBook Pro M1 16-inch 2021 with Generation 1 chip).

@verpixelt
Copy link

@fers4t yes it works again tho still with huge initial lags. I doubt that is related.

@timothyis
Copy link
Member

Hi all, just wondering if anyone is still seeing this error? I know about the performance issues, but wondering about the error initially noted in this issue.

@alechko
Copy link

alechko commented Nov 11, 2022

@timothyis except for being a bit slow on my intel mbp had no issues and didn't seen the error since upgrading to 3.6.0

@visualengineer
Copy link

visualengineer commented Nov 3, 2023

Love the app, thanks so much. Getting this error when installing on M2 Max, 32GB on Ventura 13.0:

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)

@lemio
Copy link

lemio commented Nov 3, 2023

I have the same issue with Apple M1 Pro sw, 13.6.1 (22G313) with Kap-3.6.0-arm64

error:

Recording error
Error: Could not start recording within 5 seconds
at Timeout._onTimeout (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/aperture/index.js:118:19)

@pinussilvestrus

This comment was marked as resolved.

@sopi20
Copy link

sopi20 commented Jan 4, 2024

Love the app, thanks so much. Getting this error when installing on M2 Max, 32GB on Ventura 13.0:

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)

source of the problem is that the node module mac-screen-capture-permissions is an intel only binary (screen-capture-permissions: Mach-O 64-bit executable x86_64), and you most probably don't have rosetta installed. It would be great if someone could do a proper Apple Silicon native build of kap (including the node modules), or a proper universal binary (including node modules)... although in this case it looks like the problem might be in the mac-screen-capture-permissions dependency iteself :/

@sopi20
Copy link

sopi20 commented Jan 4, 2024

I just tried building it from source with changed version of mac-screen-capture-permissions from 1.1.0 to 2.1.0 and after yarn dist it appears to work just fine (although I tried only recording one whole screen recording, so maybe more testing should be done before that is accepted as a solution to this problem)

@codercodingthecode
Copy link

Check this #1231, I have addressed the intel dependency issue. Rosetta is no longer required.

@d7manDev
Copy link

d7manDev commented Dec 6, 2024

app running as processes but not showing to record the screen it was working fine
image

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

No branches or pull requests