expo / ex-navigator

Route-centric navigation built on top of React Native's Navigator
MIT License
522 stars 68 forks source link

Two export default lines in ExRouteRenderer.js #131

Closed elie222 closed 8 years ago

elie222 commented 8 years ago

I get this error when running my app:

Encountered an error while persisting cache:
> SyntaxError: /.../app/node_modules/@exponent/react-native-navigator/ExRouteRenderer.js: Only one default export allowed per module.

And there are indeed two lines in this file that say export default.

cedoucette commented 8 years ago

I just saw this issue also. Apparently, it's just been fixed in 0.4.8 (1 hour after you reported this): https://github.com/exponentjs/ex-navigator/commit/6b644659d59ed8f35f37ea56ba078a405c2c68e0