bbb-recorder icon indicating copy to clipboard operation
bbb-recorder copied to clipboard

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

Open techiexplorer opened this issue 5 years ago • 8 comments

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)

techiexplorer avatar Jul 10 '20 13:07 techiexplorer

same https://github.com/jibon57/bbb-recorder/issues/42#issuecomment-656072972

jibon57 avatar Jul 10 '20 13:07 jibon57

It worked, Thanks a lot!

techiexplorer avatar Jul 10 '20 14:07 techiexplorer

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 avatar Jul 12 '20 11:07 jibon57

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

techiexplorer avatar Jul 12 '20 11:07 techiexplorer

shall I use latest or specific version?

amg-web avatar Jul 12 '20 11:07 amg-web

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 avatar Jul 12 '20 11:07 amg-web

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?

amg-web avatar Jul 15 '20 15:07 amg-web

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!

techiexplorer avatar Jul 15 '20 15:07 techiexplorer