relative preset "es2015" not found with create-react-native-app
rvcas opened this issue · 1 comments
rvcas commented
When using this with create-react-native-app, I get some sort of TransformError
. The error says that a "es2015" preset is not found relative to node_modules/redux-cycles/dist/index.js
. I checked the package.json
of this package and the babel configs are there. So I'm a bit unsure if the error is with the library or create-react-native-app.
ATM, I can get it to work by manually entering node_modules/redux-cycles/
and doing two things:
- install deps:
yarn install
- adding a .babelrc that contains the preset "es2015"
rvcas commented
I seemed to have resolved this by just adding babel-preset-es2015
to my package.json
.
I'll go ahead and close this