You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2026. It is now read-only.
I'm building project that uses sanitize-html, which relies on htmlparser2.
The error during the rspack build was this:
The fix that I found was to install the
eventspackage.From what I can see, the package is using the 8.x version of htmlparser2, and the latest version of htmlparser2 is 10.x. I do not know if a version upgrade would fix the issue.
A mention of this in the README, that the "events" module is needed if it isn't part of the bundler/build system, could be useful.