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
wrong react-navigation version #1369
Comments
Fixed by infinitered/ignite-andross#239
Ignite was recently updated to allow version specifications, which caused Andross to install the specified versions rather than the latest. The workaround for now is to clone the boilerplate with the changes in the PR and generate from that:
|
Hm, strange, I'm on Mac, and I have the same issue, will try the fix, thanks 😄 |
I updated the comment with better reasoning and a workaround until it's fixed |
@ruddell thanks for the reply. Everything seams to be working. But I can't really tell much apart from there are no errors and it loads the dev screens without problems (Its my first Ignite and react-native project). One note, just to be sure, Anyways, thanks for looking into this! |
Yep, the |
|
Hey there! Ignite CLI seems to be having a problem, eh?
What's going on?
I just installed ignite and wanted to give it a try but I can't get it running on my Android phone (via ubuntu).
This is the error on the phone:
undefined is not a function (evaluating '(0, _reactNavigation.createStackNavigator)')
It looks like the Andross boilerplate comes with a wrong version of react-navigation. See the generated package.json below:
I assume that it should be at least react-navigation 2.x because of the way it is implemented in AppNavigation.js and also because it states on the Andross repo that it ships with react-native 3.0.0 (https://github.com/infinitered/ignite-andross)
When choosing the Bowser boilerplate, the correct react-navigation version is used (3.0.0) and it runs fine on the phone.
Steps to reproduce
ignite doctor
results:The text was updated successfully, but these errors were encountered: