fb55/htmlparser2

Runtime error occurs in production environment using Vite

groflaw opened this issue · 1 comments

I am using htmlparser2 module but I can see runtime error in production environment
It works fine in development.

image
image

This error is what I see
I found the source and I noticed that EVENTS object was undefined in Stream.js file
image

It seems to be Stream.js file cannot import EVENTS object from index.js file

I am using Quasar framework (Vue)

fb55 commented

This is a know error from an old, now unsupported, version. Please upgrade to the current release and this error should go away.