Parser.parse() is not a function
Closed this issue · 4 comments
GabrielInTheWorld commented
When I tried to parse a html-string with the simple function "parse(html)" of the imported parser, an error occurred that "parse" is not a function...
aknuds1 commented
Can you provide a code example?
GabrielInTheWorld commented
let elem = Parser.parse(rawHTML)
aknuds1 commented
Can you please provide a full example including imports? It's not clear how Parser
is defined.
aknuds1 commented
I'm going to close this, as I suspect it's a matter of using the library in the wrong way. Please re-open if you have more info :)