Skip to content

[xterm v5.1/5.2] Can't work with xterm above than v5.1 since the error indicates e.replaceChildren is not a function #4559

Answered by jerch
hongdyu asked this question in Q&A
Discussion options

You must be logged in to vote

Well from there you have several options - either upgrade electron (which I'd recommend, since this is also about security patches). If thats not viable and you need a hotfix, maybe check babel for a polyfill or write your own (like this one).

Last but not least, you can also revert the change (see #4217) and maintain your own copy of xterm.js, but that more involved to keep in sync in the long run.

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Tyriar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #4550 on June 13, 2023 13:43.