I've using react-form-validator-core@0.4.3 on my project scaffolded by create-react-app and on build to production step react-scripts build throws the error:
Failed to minify the code from this file:
./node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js:64
The real problem is related here, and the solution is the react-form-validator-core upgrade the dependency version of react-lifecycles-compat to 3.0.2+ if you are using version 0.4.3.
Hello,
I've using
react-form-validator-core@0.4.3
on my project scaffolded bycreate-react-app
and on build to production stepreact-scripts build
throws the error:The real problem is related here, and the solution is the
react-form-validator-core
upgrade the dependency version ofreact-lifecycles-compat
to3.0.2+
if you are using version0.4.3
.On version
0.4.4
all works as expected.