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

CardStackStyleInterpolator module not found #2402

Closed
rborn opened this issue Sep 19, 2017 · 2 comments
Closed

CardStackStyleInterpolator module not found #2402

rborn opened this issue Sep 19, 2017 · 2 comments

Comments

@rborn
Copy link

rborn commented Sep 19, 2017

Version

Tell us which versions you are using:

  • react-native-router-flux 4.0.0-beta.21
  • react-native 0.44.0
  • (just ran the example in the repo)

Expected behaviour

The example app in the repo should run.

Actual behaviour

I dies on run with error: bundling: UnableToResolveError: Unable to resolve module react-navigation/src/views/CardStackStyleInterpolator from /Work/mine/reacttest/react-native-router-flux/Example/Example.js

Very simple fix, it seems that react-navigation changed the location of the file.

So in Example.js

-import CardStackStyleInterpolator from 'react-navigation/src/views/CardStackStyleInterpolator';
+import CardStackStyleInterpolator from 'react-navigation/src/views/CardStack/CardStackStyleInterpolator';

I can make a PR if you want. Thank you 🤗

@mcabs3
Copy link
Collaborator

mcabs3 commented Sep 19, 2017

PR is always welcome, just make sure the Example application will run in your PR. Thanks

@mcabs3
Copy link
Collaborator

mcabs3 commented Sep 23, 2017

This has been fixed with Pull Request 2405

@mcabs3 mcabs3 closed this as completed Sep 23, 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

2 participants