const c = new music21.chord.Chord("C5 G5");
c.duration.type = "whole";
const s = new music21.stream.Stream();
s.append(c);
s.replaceDOM();
c.notes[1].pitch = new music21.pitch.Pitch('F#4');
s.replaceDOM();
vexflow-debug.js:1 Warning: Unsorted keys in note will be sorted. See https://github.com/0xfe/vexflow/issues/104 for details. Error
at Function.b.StackTrace (http://127.0.0.1:8000/build/music21.debug.js:45756:4968)
at Function.b.W (http://127.0.0.1:8000/build/music21.debug.js:45756:5126)
at http://127.0.0.1:8000/build/music21.debug.js:45756:255597
at Array.forEach (<anonymous>)
at e.value (http://127.0.0.1:8000/build/music21.debug.js:45756:255564)
at new e (http://127.0.0.1:8000/build/music21.debug.js:45756:250349)
at Chord.vexflowNote (http://127.0.0.1:8000/build/music21.debug.js:14834:17)
at Renderer.vexflowNotes (http://127.0.0.1:8000/build/music21.debug.js:25499:28)
at Renderer.getVoice (http://127.0.0.1:8000/build/music21.debug.js:25116:24)
at Renderer.prepareFlat (http://127.0.0.1:8000/build/music21.debug.js:24965:27)
Manifestation of https://github.com/0xfe/vexflow/issues/104: