Uncaught TypeError: this.setMinHeight is not a function using TUI editor, ejs, node.js

Solution 1:

Seems you forgot the new keyword:

const editor = new toastui.Editor({
  el: document.querySelector('#editor'),
});