rbren / rss-parser

A lightweight RSS parser, for Node and the browser
MIT License
1.35k stars 209 forks source link

Uncaught TypeError: this.removeAllListeners is not a function #265

Open iam4tunate opened 7 months ago

iam4tunate commented 7 months ago

getting "this.removeAllListeners is not a function" error anytime i run my program. below is an image of my code. i'm using Reactjs. ![code](https://github.com/rbren/rss-parser/assets/58645821/32c51e63-36ab-46da-a83b-00e99e66d846)

djyde commented 4 months ago

Any solution?

cerqiest commented 3 months ago

This is an issue caused by the xml2js library. Run the command npm i events (https://github.com/Leonidas-from-XIV/node-xml2js/issues/88#issuecomment-1836659197)