node-csvtojson
node-csvtojson copied to clipboard
Argument of type 'string' is not assignable to parameter of type 'Readable' while using csvtojson
I am going to create method to read cvs files by url and using csvtojson But when I used request.get I will get Argument of type 'string' is not assignable to parameter of type 'Readable'. I create document but Document but problem still existing here. Onemore thing I could another npm to read files from url but I think, maybe those process exist in csvtojson. so I would use another npm to work with url data or how can i solve this problem
NODE: v8.9.2 npm: 5.5.1
Stackoverflow link
Replied on stackoverflow.
~Keyang
This maybe form data is invalid but I want to read from url not form data
{ "statusCode": 500, "error": "INTERNAL_SERVER_ERROR", "message": "Uncaught Exception: path must be a string or Buffer" }
Hi, do you have updated code where you get this issue?
~Keyang