expo / ex-navigator

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

unable to resolve module .../@exponent/react-native-navigator/node_modules/react-clone-referenced-element/cloneReferencedElement.js #90

Closed rnagella closed 6 years ago

rnagella commented 8 years ago

When importing ExNavigator with in app fails with below error message This apps is built with React Native dependencies 0.19.0 This can be resolved by importing the React Native module using import instead require.
SOLUTION i.e., import React from 'react-native' instead let React = require('react'); with in @exponent/react-native-navigator/node_modules/react-clone-referenced-element/cloneReferencedElement.js

simulator screen shot feb 3 2016 12 01 01 pm

aawaheed commented 8 years ago

same issue while trying out https://github.com/Thorbenandresen/ExNavigatorExample with react-native:0.19.0

jayesbe commented 8 years ago

Also having this issue

SpaceK33z commented 8 years ago

Also had this issue. It's related to https://github.com/ide/react-clone-referenced-element/issues/3.