cyclejs-community / redux-cycles

Bring functional reactive programming to Redux using Cycle.js
MIT License
745 stars 30 forks source link

relative preset "es2015" not found with create-react-native-app #43

Closed rvcas closed 6 years ago

rvcas commented 6 years ago

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:

  1. install deps: yarn install
  2. adding a .babelrc that contains the preset "es2015"
rvcas commented 6 years ago

I seemed to have resolved this by just adding babel-preset-es2015 to my package.json.

I'll go ahead and close this