alexcaza / export-to-csv

Export a JS collection to CSV; written in TypeScript.
Other
207 stars 48 forks source link

Failed to parse source map #92

Closed SumitUnhale closed 8 months ago

SumitUnhale commented 8 months ago

In my React application, I am getting issue like Error: ENOENT: no such file or directory, open \node_modules\export-to-csv\build\export-to-csv.js.map', Please help me for resolving this issue.

issue

alexcaza commented 8 months ago

This seems to be a known issue with create-react-app and its internal Webpack configuration. This library doesn't ship sourcemaps—and doesn't reference them within index.js, either. There's not much I can do as I don't think shipping the sourcemaps would be helpful anyway.

Link to the pull request talking about this issue on the create-react-app repo: https://github.com/facebook/create-react-app/pull/11752