Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message when using vite #409

Open
langco opened this issue Dec 6, 2023 · 0 comments
Open

Error message when using vite #409

langco opened this issue Dec 6, 2023 · 0 comments

Comments

@langco
Copy link

langco commented Dec 6, 2023

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?
grafik

Despite the error, the functionality appears to be intact. What steps can I take to resolve or mitigate this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant