You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to run a production build on create-react-app and get the following error:
yarn run v1.3.2
$ react-scripts build
Creating an optimized production build...
Failed to compile.
Failed to minify the code from this file:
./node_modules/react-currency-formatter/dist/react-currency-formatter.umd.js:2966
Read more here: http://bit.ly/2tRViJ9
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
create-react-app requires that packages be compiled to ES5 before being submitted to npm
Open an issue on the dependency's issue tracker and ask that the package be published pre-compiled.
The text was updated successfully, but these errors were encountered:
crhallen
changed the title
webpack / create-react-app failed to minify the code...
create-react-app/webpack failed to minify as module needs to be submitted in ES5 on npm
Dec 8, 2017
Trying to run a production build on create-react-app and get the following error:
create-react-app requires that packages be compiled to ES5 before being submitted to npm
The linked documentation at http://bit.ly/2tRViJ9 says to
The text was updated successfully, but these errors were encountered: