node-csvtojson icon indicating copy to clipboard operation
node-csvtojson copied to clipboard

Require is not defined

Open agorfine opened this issue 6 years ago • 1 comments

I am attempting to use the npm package csvtojson; however, I am receiving the following error message: Uncaught ReferenceError: require is not defined. I installed the npm package, and see it in my package.json file underdependencies. Is there something you have to import to use this package?

agorfine avatar Feb 14 '19 20:02 agorfine

Require is a NodeJS function, if you are using it on a browser, it doesn't exist. Follow these instructions instead

raidenfreeman avatar Apr 23 '19 12:04 raidenfreeman