react-csv-reader icon indicating copy to clipboard operation
react-csv-reader copied to clipboard

npm run build failed to compile

Open danielbrito1987 opened this issue 3 years ago • 1 comments

Describe the bug I'm trying to compile my project for production, but the following error always occurs: Unexpected token: punc ()) [./node_modules/react-csv-reader/dist/react-csv-reader.js:1,1264][\js\app-rede.js:51124,1285] I'm using webpack in my project.

  • node v12.22.1
  • npm 7.14.0
  • composer 2.0.12
  • PHP ^7.0
  • Laravel ^5.5

danielbrito1987 avatar Jun 18 '21 17:06 danielbrito1987

Hi @danielbrito1987 👋 May this SO thread can help you? It doesn't seem a problem related to the library itself, so I suppose the environment and the build tooling should be debugged.

nzambello avatar Jul 08 '21 18:07 nzambello