Skip to content

Unable to start app - RN v0.49.3 #2507

@bushev

Description

@bushev

Version

Tell us which versions you are using:

  • react-native-router-flux v4.0.0-beta.22
  • react-native v0.49.3

Expected behaviour

App starts successfully

Actual behaviour

Error:

error: bundling failed: SyntaxError /Users/bushev/IdeaProjects/testProj/node_modules/react-native-router-flux/src/Router.js: Unexpected token (8:0)
   6 | import { addNavigationHelpers } from 'react-navigation';
   7 | 
>  8 | @observer
     | ^
   9 | class App extends React.Component {
  10 |   static propTypes = {
  11 |     navigator: PropTypes.func,

Steps to reproduce

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

  1. Build an app with latest RN.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions