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

After manual install: Something went wrong while loading “kap-cam” #4

Open
TurekBot opened this issue Feb 3, 2023 · 5 comments

Comments

@TurekBot
Copy link

TurekBot commented Feb 3, 2023

See issue #2 for discussion.

macOS version: Ventura (13)
Kap version: 3.6.0

Something went wrong while loading “kap-cam”

Error: Cannot find module 'execa'
Require stack:
- /Users/bradleyturek/Code/kap-cam/index.js
- /Applications/Kap.app/Contents/Resources/app.asar/dist-js/plugins/plugin.js
- /Applications/Kap.app/Contents/Resources/app.asar/dist-js/plugins/index.js
- /Applications/Kap.app/Contents/Resources/app.asar/dist-js/index.js
- 
    at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
    at Object.<anonymous> (~/Code/kap-cam/index.js:4:15)
@calumk
Copy link

calumk commented Mar 10, 2023

The issue is you need to run npm i after linking the package

@pavbyte
Copy link

pavbyte commented Aug 13, 2023

https://youtu.be/R7CiiWRVdBw?si=rI94QCCylwaqoKGG

I made a video regarding how to fix the issue.

@suess-ecbm
Copy link

For future reference, the steps are:

cd ~/Library/Application\ Support/Kap/plugins/

npm remove kap-camera

git clone https://github.com/clearlysid/kap-cam

npm link ./kap-cam

sed -i '' 's/"dependencies": {/"dependencies": {\n    "kap-cam": "latest",/' package.json

npm link

After that restart Kap and record a video to test. You will have to allow camera and microphone access to Kap.

@thunfischbrot
Copy link
Collaborator

This fork works currently and includes the necessary installation steps in the README.

@bfelbo
Copy link

bfelbo commented Oct 17, 2024

That fork repo sadly fails for me on npm link with npm ERR! Cannot destructure property 'name' of '.for' as it is undefined.

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

No branches or pull requests

6 participants