You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to run activeWindow() on macos m1 arm64, I am getting this error "active-win requires the screen recording permission in “System Preferences". I don't get any prompt to give the screen recording permission either, any idea whats wrong.
Error: Command failed: /Users/davidgeorge/Documents/GitHub/oa-assetsbar-v2/node_modules/active-win/main
at ChildProcess.exithandler (node:child_process:397:12)
at ChildProcess.emit (node:events:390:28)
at maybeClose (node:internal/child_process:1064:16)
at Socket.<anonymous> (node:internal/child_process:450:11)
at Socket.emit (node:events:390:28)
at Pipe.<anonymous> (node:net:687:12) {
killed: false,
code: 1,
signal: null,
cmd: '/Users/davidgeorge/Documents/GitHub/oa-assetsbar-v2/node_modules/active-win/main',
stdout: 'active-win requires the screen recording permission in “System Preferences › Security & Privacy › Privacy › Screen Recording”.\n',
stderr: ''
It used to be only accessibility permissions, now its screen recording as well but in the docs it says only screen recording permissions, but active-win requesting it is pretty flaky and sometimes doesn't happen, sometimes it does, but then the modal is somewhere buried between other windows, it's kinda weird right now. Especially since users are really hesitant to giving screen recording permission nowadays.
@apipaliya it's interesting that the older version did not require the permissions, which seems like quite the regression. We can agree that staying on a very old version is not really the right step into the future.
I'm curious why the old version worked fine and the new requires more permissions 🤔
When trying to run activeWindow() on macos m1 arm64, I am getting this error "active-win requires the screen recording permission in “System Preferences". I don't get any prompt to give the screen recording permission either, any idea whats wrong.
I'm only trying to run the sample file
The text was updated successfully, but these errors were encountered: