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

Error: throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'original', 'function'); #43

Open
techiexplorer opened this issue Jul 10, 2020 · 8 comments

Comments

@techiexplorer
Copy link

internal/util.js:214
throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'original', 'function');
^

TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function
at promisify (internal/util.js:214:11)
at Object. (/home/bbb/bbb-recorder/node_modules/extract-zip/index.js:11:18)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object. (/home/bbb/bbb-recorder/node_modules/puppeteer/lib/cjs/node/BrowserFetcher.js:48:39)

@jibon57
Copy link
Owner

jibon57 commented Jul 10, 2020

same #42 (comment)

@techiexplorer
Copy link
Author

It worked, Thanks a lot!

@jibon57 jibon57 changed the title I am getting the following output when trying to test it. I installed all the dependencies correctly Error: throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'original', 'function'); Jul 12, 2020
@jibon57
Copy link
Owner

jibon57 commented Jul 12, 2020

I am keeping it open as most of the user having this problem. Solution:

You are using older version of nodejs. Please follow this to update:

https://github.com/nodesource/distributions/blob/master/README.md#debinstall

@jibon57 jibon57 reopened this Jul 12, 2020
@techiexplorer
Copy link
Author

Yeah cool! I upgraded to 12.x and it worked fine.

@amg-web
Copy link

amg-web commented Jul 12, 2020

shall I use latest or specific version?

@amg-web
Copy link

amg-web commented Jul 12, 2020

I have also this /var/bigbluebutton/published/presentation/01e03e98b2d58d5b189e0c7c4592dc4b3fc94574-1591286409969/video/webcams.webm: No such file or directory

vebcams has mp4 extension
bbb 2.2.20

@amg-web
Copy link

amg-web commented Jul 15, 2020

bbb uses nodjs 8
are you sure upgrade does not break things?
it looks like record processing is not working, records is not published. Can somebody confirm?

@techiexplorer
Copy link
Author

bbb uses nodjs 8
are you sure upgrade does not break things?
it looks like record processing is not working, records is not published. Can somebody confirm?

Not sure if node version effects processing. I thought it was being used for playback only!

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

3 participants