Error message when using vite
langco opened this issue · 0 comments
langco commented
I'm using the esm build version 5.5.0 of csv-parser with Vite, and I'm encountering the following error in the browser console:
Uncaught TypeError: "listener" argument must be a function
_addListener index.js:2161
addListener index.js:2222
on index.js:4057
err index.js:6457
parse index.js:5961
_transform index.js:6453
_read index.js:4993
_write index.js:4981
doWrite index.js:4600
writeOrBuffer index.js:4589
write index.js:4527
writer index.js:6519
For some reason, this.destroy is undefined. Everything seems to work, but how can I address this error message?
Despite the error, the functionality appears to be intact. What steps can I take to resolve or mitigate this issue?