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

Open YaChenHsieh opened 9 months ago

YaChenHsieh commented 9 months ago

Sentry Issue: KAP-TTQ

macOS version: Mojave (10.14) Kap version: 3.6.0

Unhandled Promise Rejection

Error: Command was killed with SIGABRT (Aborted): /Applications/Kap.app/Contents/Resources/app.asar.unpacked/node_modules/aperture/aperture events listen --process-id kf9suc3r958 --exit onFileReady
dyld: Library not loaded: @rpath/libswiftCore.dylib
  Referenced from: /Applications/Kap.app/Contents/Resources/app.asar.unpacked/node_modules/aperture/aperture
  Reason: image not found
    at makeError (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/aperture/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/aperture/node_modules/execa/index.js:118:26)
    at async Aperture.waitForEvent (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/aperture/index.js:161:20)
    at async /Applications/Kap.app/Contents/Resources/app.asar/node_modules/aperture/index.js:136:5
tonyshixd commented 8 months ago

iMac 21.2, macOS 14.1 Can verify that manually installing Rosetta 2 solved this issue

softwareupdate --install-rosetta