Closed mergingseas closed 4 years ago
@mergingseas Could you please try to install react-papaparse
v.3.4.0 which is the latest version? Thanks!
Hi Bunlong, I upgraded to the new version of v3.4 and I still get the same: Creating an optimized production build... Failed to compile.
Failed to minify the code from this file:
./node_modules/react-papaparse/dist/react-papaparse.es.js:13:28612
I experience the same issue, did you figure out a workaround / fix for this? I am using the latest (3.7.0) version of paparse and react-scripts 3.4.1. @Bunlong @mergingseas
@Olovorr What are the create next app version, node version, and npm version in your local environment?
@Olovorr What are the create next app version, node version, and npm version in your local environment?
Not create next app, but create react app (CRA). The issue is that when building production build, it expects ES5 syntax and not higher. That being said I already created PR for this so unless you have a problem with my solution we probably don't need to dive deeper on this. As far as I know downgrading compiling target version should not cause any issues.
@Olovorr Yes, I got your PR. Okay let me test it and I will merge and deploy to production as soon as possible. Thanks you so much, I do appreciate for your help, could I add you to the contributor list?
@Olovorr Yes, I got your PR. Okay let me test it and I will merge and deploy to production as soon as possible. Thanks you so much, I do appreciate for your help, could I add you to the contributor list?
Sure mate! 🙂
@Olovorr react-papaparse v3.7.1 has been released! You were added to contributor list. Thanks!
when running npm run build I get the following error:
Creating an optimized production build... Failed to compile.
Failed to minify the code from this file:
My setup is using create-react-app and node v8 and node v13 was tried