Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
rvcas opened this issue Oct 12, 2017 · 1 comment
Closed

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

rvcas opened this issue Oct 12, 2017 · 1 comment

Comments

@rvcas
Copy link

rvcas commented Oct 12, 2017

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
Copy link
Author

rvcas commented Oct 13, 2017

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

I'll go ahead and close this

@rvcas rvcas closed this as completed Oct 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant