0

I want to use some library, that can work with csv format. I've found this

But I have a problem with it's require. I do

npm install csv

then do require

csv = require('csv');

When I run my project, I get in terminal follow error:

TypeError: Cannot read property 'prototype' of undefined at Object.exports.inherits (util.js:538:43) at Object. (/.../node_modules/csv/node_modules/csv-generate/lib/index.js:122:6)

Who does know, what problem is?

1 Answer 1

2

My be you're not following the right documentation for the right version of csv module. this is the new website of csv module

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.