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

"<Promise> has no method 'finally'" in CasperCG 2.0.7 #4

Open
JonFranklin301 opened this issue Oct 13, 2020 · 0 comments
Open

"<Promise> has no method 'finally'" in CasperCG 2.0.7 #4

JonFranklin301 opened this issue Oct 13, 2020 · 0 comments

Comments

@JonFranklin301
Copy link

Hi There,

I am using CasparCG 2.0.7 and transitioning templates from flash to HTML. I have found that WebCG v2.6.0 does not work with CasparCG 2.0.7

The PLAY command runs but crashes with the error: "Uncaught TypeError: Object #<Promise> has no method 'finally'"

I believe this is as Promise.prototype.finally() has a minimum version of Chrome 63 however CCG 2.0.7 uses Chromium 33. Reverting to WebCG v2.5.0 resolves this issue and WebCG works as expected.

CasparCG log:

cg 1-1 add 1 html-test 1
[2020-10-13 18:08:07.642] [170744] [info]    Received message from Console: CG 1-1 ADD 1 html-test 1\r\n
#202 CG OK
[2020-10-13 18:08:07.651] [175352] [info]    html[...\HTML-TEST.html] Initialized.
[2020-10-13 18:08:07.671] [175352] [debug]   Executed command: CGCommand
[1013/180807:ERROR:renderer_main.cc(226)] Running without renderer sandbox
[1013/180807:INFO:CONSOLE(285)] "[webcg-framework] version 2.6.0", source: file:///C:/Users/.../lib/webcg-framework.umd.js (285)
[1013/180807:INFO:CONSOLE(145)] "Uncaught TypeError: Object #<Promise> has no method 'finally'", source: file:///C:/Users/.../lib/webcg-framework.umd.js (145)

Thanks for this really useful library,
Jon

@JonFranklin301 JonFranklin301 changed the title v2.6.0 is not compatible with CasperCG 2.0.7 "<Promise> has no method 'finally'" in CasperCG 2.0.7 Oct 15, 2020
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

1 participant