There's an issue while creating production build with script provided by create-react-app.
Console output:
yarn build v0.27.5
$ node scripts/build.js
Creating an optimized production build...
Failed to compile.
./node_modules/kefir.atom/dist/kefir.atom.es.js
Module parse failed: /Users/user/Projects/project/client/node_modules/kefir.atom/dist/kefir.atom.es.js Cannot read property '0' of undefined
You may need an appropriate loader to handle this file type.
TypeError: Cannot read property '0' of undefined
at Array.forEach ()
error Command failed with exit code 1.
Checked you'r babel configuration in karet-shopping-cart and configured my the same way:
Hello,
There's an issue while creating production build with script provided by create-react-app.
Console output:
Checked you'r babel configuration in karet-shopping-cart and configured my the same way:
But unfortunately error still exist.
Thanks for help :)