The below part of the code keeps getting hit regularly and errors out due to el being null or undefined. How to solve this issue?
`/js/wordcloud2.js at line 189:21
if (typeof el === 'string') {
elements[i] = document.getElementById(el)
if (!elements[i]) {
throw new Error('The element id specified is not found.')
}
} else if (!el.tagName && !el.appendChild) {
throw new Error('You must pass valid HTML elements, or ID of the element.')
}
})`
The below part of the code keeps getting hit regularly and errors out due to
el
being null or undefined. How to solve this issue?`/js/wordcloud2.js at line 189:21