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

react-native-web Unable to be compatible #2178

Closed
ghost opened this issue Aug 3, 2017 · 2 comments
Closed

react-native-web Unable to be compatible #2178

ghost opened this issue Aug 3, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 3, 2017

Version

Tell us which versions you are using:

  • react-native-router-flux 4.0.0-beta.15
  • react-native 0.47.1
  • react-native-web 0.0.119
  • react-navigation 1.0.0-beta.11

Expected behaviour

run react-native-web on chrome
Can run

Actual behaviour

navigationStore.js:1 Uncaught TypeError: (0 , _reactNavigation.StackNavigator) is not a function
at NavigationStore.processScene (navigationStore.js:1)
at _loop (navigationStore.js:1)
at NavigationStore.processScene (navigationStore.js:1)
at _loop (navigationStore.js:1)
at NavigationStore.processScene (navigationStore.js:1)
at _loop (navigationStore.js:1)
at NavigationStore.processScene (navigationStore.js:1)
at _loop (navigationStore.js:1)
at NavigationStore.processScene (navigationStore.js:1)
at NavigationStore.create (navigationStore.js:1)

Steps to reproduce

For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.

  1. cause react-navigation on web no have this StackNavigator function

in react-navigation package.json info:
{
"main": "src/react-navigation.js",
"sources": {
"react-native-v1": "lib-rn/react-navigation.js",
"web": "lib/react-navigation.web.js"
}

My English is poor, sorry 。。。

@aksonov
Copy link
Owner

aksonov commented Aug 3, 2017

Sorry, it is not supported (probably you could look does react-navigation support react-native-web or not)

@aksonov aksonov closed this as completed Aug 3, 2017
@exos
Copy link

exos commented Jan 19, 2018

worst resolution ever

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