xmppo / node-expat

libexpat XML SAX parser binding for node.js
https://github.com/xmppo/node-expat
MIT License
384 stars 97 forks source link

Bindings doesn't contain Parser constructor [BUG] #231

Open themehdev opened 1 month ago

themehdev commented 1 month ago

Uncaught (in promise) TypeError: expat.Parser is not a constructor I am running this with webpack and it throws this error. https://github.com/TooTallNate/node-bindings

Looking through bindings, it never declares a Parser constructor, so I am less confused about why this error message exists but why this was implemented in this way.

Thanks for looking at this.