Open christianblessing-me opened 2 years ago
Some more discussion here: https://github.com/karaggeorge/kap-camera/issues/34 also does not work for me on 12.0.1 with 3.4.1.
Any updates here?
I was contemplating picking this up but it seems like the owner of this repo isn't accepting/merging PR's
macOS version: 12.0.1 Kap version: 3.4.1 still not working
I'm also having issues with this pluging for a few months already. Everything is checked under permissions, even the macOS Monterey shows activity for the camera being used by the Kap app but not showing anywhere during the recording.
same behaviour. camera is not working on mac os 12.1 and kap intel Version 3.5.3 (3.5.3.1804)
Same behavior on MacOS 12.3 with Apple Silicon.
Can confirm on MBP with M1 Pro.
Since this repo seems mostly unmaintained, I switched to OBS and I love it. I even made a little matte to make my camera into a circle (instead of a 16x9 rectangle). Good luck!
Since this repo seems mostly unmaintained, I switched to OBS and I love it. I even made a little matte to make my camera into a circle (instead of a 16x9 rectangle). Good luck!
I think I'll do the same. OBS runs smoothly on M1. I liked the simplicity of Kap and considered donating to it as well. But at this point it's mostly useful for creating quick gifs and videos, not educational videos with my picture on the screen.
This affects me as well, Kap is not working with macOS Monterey 12.4 using an M1.
Hey people, I've fixed this issue in my fork alongside other tweaks I wanted for my use. Haven't published it yet, but you can feel free to clone and use it if you'd like.
Hey people, I've fixed this issue in my fork alongside other tweaks I wanted for my use. Haven't published it yet, but you can feel free to clone and use it if you'd like.
Can you do a pull request?
Hey people, I've fixed this issue in my fork alongside other tweaks I wanted for my use. Haven't published it yet, but you can feel free to clone and use it if you'd like.
And how can I use it? Did someone test this?
Kap itself has a new build for M1 chip, probably solved issues with capturing screen, but this plugin still does not work with the latest version of Kap, Macbook Air M1 and Monterey 12.6.
Still same issue :(
Same. Can someone post a plugin that works or at least point to a different option from within Kap?
For future reference: This fork works currently and includes the neccessary installation steps in the README.
@thunfischbrot awesome man!
However I run into the following issue with your fork at the last step npm link
:
npm ERR! Cannot destructure property 'name' of '.for' as it is undefined.
Logs
0 verbose cli /usr/local/Cellar/node/21.6.1/bin/node /usr/local/bin/npm
1 info using npm@10.2.4
2 info using node@v21.6.1
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 2ms
5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 3ms
6 timing config:load:builtin Completed in 3ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/Users/davidscheutz/Library/Application Support/Kap/plugins/.npmrc Completed in 0ms
10 timing config:load:project Completed in 2ms
11 timing config:load:file:/Users/davidscheutz/.npmrc Completed in 1ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:/usr/local/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:setEnvs Completed in 1ms
16 timing config:load Completed in 12ms
17 timing npm:load:configload Completed in 12ms
18 timing config:load:flatten Completed in 3ms
19 timing npm:load:mkdirpcache Completed in 0ms
20 timing npm:load:mkdirplogs Completed in 1ms
21 verbose title npm link
22 verbose argv "link"
23 timing npm:load:setTitle Completed in 5ms
24 timing npm:load:display Completed in 2ms
25 verbose logfile logs-max:10 dir:/Users/davidscheutz/.npm/_logs/2024-05-18T23_30_27_984Z-
26 verbose logfile /Users/davidscheutz/.npm/_logs/2024-05-18T23_30_27_984Z-debug-0.log
27 timing npm:load:logFile Completed in 11ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 51ms
31 timing config:load:flatten Completed in 1ms
32 timing arborist:ctor Completed in 1ms
33 silly logfile start cleaning logs, removing 1 files
34 silly logfile done cleaning log files
35 timing idealTree:init Completed in 7ms
36 timing idealTree:userRequests Completed in 4ms
37 silly idealTree buildDeps
38 silly placeDep ROOT undefined@ OK for: want: file:../../../Users/davidscheutz/Library/Application Support/Kap/plugins
39 timing idealTree:#root Completed in 7ms
40 timing idealTree:node_modules/undefined Completed in 0ms
41 timing idealTree:buildDeps Completed in 9ms
42 timing idealTree:fixDepFlags Completed in 1ms
43 timing idealTree Completed in 21ms
44 timing reify:loadTrees Completed in 23ms
45 timing command:link Completed in 40ms
46 verbose stack TypeError: Cannot destructure property 'name' of '.for' as it is undefined.
46 verbose stack at [diffTrees] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:353:20)
46 verbose stack at Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:169:27)
46 verbose stack at async Link.linkPkg (/usr/local/lib/node_modules/npm/lib/commands/link.js:151:5)
46 verbose stack at async module.exports (/usr/local/lib/node_modules/npm/lib/cli-entry.js:61:5)
47 verbose cwd /Users/davidscheutz/Library/Application Support/Kap/plugins
48 verbose Darwin 23.4.0
49 verbose node v21.6.1
50 verbose npm v10.2.4
51 error Cannot destructure property 'name' of '.for' as it is undefined.
52 verbose exit 1
53 timing npm Completed in 288ms
54 verbose unfinished npm timer reify 1716075028233
55 verbose unfinished npm timer reify:diffTrees 1716075028268
56 verbose code 1
57 error A complete log of this run can be found in: /Users/davidscheutz/.npm/_logs/2024-05-18T23_30_27_984Z-debug-0.log
PS creating issues isn't enabled for your repo PPS sprichst du Deutsch? 😎
@thunfischbrot awesome man!
However I run into the following issue with your fork at the last step
npm link
:
npm ERR! Cannot destructure property 'name' of '.for' as it is undefined.
Yeah same problem here, @thunfischbrot any hint how to fix that if that worked for you ?
Hi! To make sure I can reproduce this issue, please try the following steps and let me kow if you still experience the same issues:
cd ~/Library/Application\ Support/Kap/plugins/
npm remove kap-camera
npm remove kap-cam
git clone https://github.com/thunfischbrot/kap-cam
cd kap-cam
npm link
cd ..
npm install ./kap-cam
npm link
Preferences
Plugins
pane, and switch to Discover
tab.cam
and toggle it on.Hi @thunfischbrot, thanks for the quick reply. Unfortunately cam
does not appear in the plugins/Discover tab because npm link
fails.
> plugins % npm remove kap-camera
changed 1 package, and audited 102 packages in 413ms
25 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
> plugins % npm remove kap-cam
removed 75 packages, and audited 27 packages in 404ms
3 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
> plugins % git clone https://github.com/thunfischbrot/kap-cam
Cloning into 'kap-cam'...
remote: Enumerating objects: 151, done.
remote: Counting objects: 100% (151/151), done.
remote: Compressing objects: 100% (93/93), done.
remote: Total 151 (delta 77), reused 113 (delta 49), pack-reused 0
Receiving objects: 100% (151/151), 65.03 KiB | 1.38 MiB/s, done.
Resolving deltas: 100% (77/77), done.
> plugins % cd kap-cam
> kap-cam % npm link
up to date, audited 3 packages in 366ms
found 0 vulnerabilities
> kap-cam % cd ..
> plugins % npm install ./kap-cam
added 75 packages, and audited 102 packages in 1s
25 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
> plugins % npm link
npm error Cannot destructure property 'name' of '.for' as it is undefined.
npm error A complete log of this run can be found in: /Users/myuser/.npm/_logs/2024-06-08T12_36_40_948Z-debug-0.log
> plugins % cat /Users/myuser/.npm/_logs/2024-06-08T12_36_40_948Z-debug-0.log
0 verbose cli /opt/homebrew/Cellar/node/22.2.0/bin/node /opt/homebrew/bin/npm
1 info using npm@10.7.0
2 info using node@v22.2.0
3 silly config:load:file:/opt/homebrew/lib/node_modules/npm/npmrc
4 silly config:load:file:/Users/myuser/Library/Application Support/Kap/plugins/.npmrc
5 silly config:load:file:/Users/myuser/.npmrc
6 silly config:load:file:/opt/homebrew/etc/npmrc
7 verbose title npm link
8 verbose argv "link"
9 verbose logfile logs-max:10 dir:/Users/myuser/.npm/_logs/2024-06-08T12_36_40_948Z-
10 verbose logfile /Users/myuser/.npm/_logs/2024-06-08T12_36_40_948Z-debug-0.log
11 silly logfile start cleaning logs, removing 1 files
12 silly logfile done cleaning log files
13 silly idealTree buildDeps
14 silly placeDep ROOT undefined@ OK for: want: file:../../../Users/myuser/Library/Application Support/Kap/plugins
15 verbose stack TypeError: Cannot destructure property 'name' of '.for' as it is undefined.
15 verbose stack at [diffTrees] (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:427:20)
15 verbose stack at Arborist.reify (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:141:27)
15 verbose stack at async Link.linkPkg (/opt/homebrew/lib/node_modules/npm/lib/commands/link.js:147:5)
15 verbose stack at async module.exports (/opt/homebrew/lib/node_modules/npm/lib/cli/entry.js:74:5)
16 verbose cwd /Users/myuser/Library/Application Support/Kap/plugins
17 verbose Darwin 23.5.0
18 verbose node v22.2.0
19 verbose npm v10.7.0
20 error Cannot destructure property 'name' of '.for' as it is undefined.
21 verbose exit 1
22 verbose code 1
23 silly unfinished npm timer reify 1717850201053
24 silly unfinished npm timer reify:diffTrees 1717850201063
25 error A complete log of this run can be found in: /Users/myuser/.npm/_logs/2024-06-08T12_36_40_948Z-debug-0.log
I've already checked the camera permission in the privacy settings, I reverted them and set them back. I also already re-installed Kap as well as the kap-camera repository completely but nothing solved the issue.