expo / ex-navigation

Route-centric navigation for React Native
997 stars 201 forks source link

unexpected token at ExNavigation.js 46:9 #483

Open nicolaselmir opened 7 years ago

nicolaselmir commented 7 years ago

Their is something in the module, my whole app is build on it please fix.

khanghoang commented 7 years ago

@nicolaselmir can you give us more details about your RN and ex-navigation version?

jasongrishkoff commented 7 years ago

I get this one all the time as well. Setting up a .babelrc file in the root with the following tends to solve it:

{
  "presets": ["react-native-stage-0/decorator-support"]
}
nicolaselmir commented 7 years ago

I already have a babelrc, I just updated to @expo and this is why this happened.

NatalyMagluy commented 7 years ago

I have the same issue. From package.json: "@expo/ex-navigation": "^3.0.0". I've changed .babelrc file to the one specified in Readme, but still no luck.

NatalyMagluy commented 7 years ago

Closing React Packager window and running app again fixed the issue.