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

csv-parse@5.0.1 stream API throws error "list" argument must be an Array of Buffers #303

mark-kone opened this issue Nov 18, 2021 · 1 comment


Copy link

Describe the bug
Trying to parse a csv file using stream API throws an error as "list" argument must be an Array of Buffers
This error has occurred only with the latest csv-parse@5.0.1 package version.

To Reproduce
Node version 14.16.1
csv-parse version 5.0.1

Run the attached code for a csv file and would throw an error as "list" argument must be an Array of Buffers

const csvParser = require("csv-parse");
fs.createReadStream(filepath).pipe(csvParser.parse()).on('data', data => {
wdavidw added a commit that referenced this issue Nov 18, 2021
Copy link

wdavidw commented Nov 18, 2021

Version csv-parse@5.0.2 fixes the problem. Thank you for reporting.

@wdavidw wdavidw closed this as completed Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

2 participants