CRA Dependencies and ES5
At the time of this writing, create-react-app requires that all dependencies are precompiled to ES5. If they aren't, the build will abort.
When this happened to me today, I followed a few of the recommended workarounds, eventually switching to a library that uses the older ECMA standard.
Running $ yarn build-js
(or equivalent) when testing out any dependency would be a good way to surface this incompatibility upfront.
Here's the Github issue on zipcodes-perogi where I documented my journey to this discovery.
Tweet