Cuando hago esto, obtengo:
~/Downloads/node_modules/xterm/typings/xterm.d.ts(14,15): error TS2300: Duplicate identifier 'FontWeight'.
~/Downloads/node_modules/xterm/typings/xterm.d.ts(247,16): error TS2300: Duplicate identifier 'Terminal'.
~/Downloads/xterm.js-master/typings/xterm.d.ts(14,15): error TS2300: Duplicate identifier 'FontWeight'.
~/Downloads/xterm.js-master/typings/xterm.d.ts(254,16): error TS2300: Duplicate identifier 'Terminal'.
Cuando abro la demostración, aparece la pantalla del terminal en negro sin texto.
En las herramientas para desarrolladores de Chrome veo:
Uncaught TypeError: Cannot read property 'length' of undefined
at Parser.parse (xterm.js:2280)
at Terminal._innerWrite (xterm.js:4090)
at xterm.js:4075
Que viene de:
Parser.prototype.parse = function (data) {
var l = data.length;
var cs;
var ch;
Puedo reprobar, debe haber sido causado por un empujón reciente.
Causado por https://github.com/xtermjs/xterm.js/pull/1355 , undefined
se está escribiendo en la terminal.
Oh JavaScript, estás tan loco:
FYI @ AlexandrePetit-Pas @parisk
@ circuitry2 debería arreglarse ahora
Comentario más útil
@ circuitry2 debería arreglarse ahora