Skip to content

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

@JonFranklin301

Description

@JonFranklin301

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions