Hi I am trying to learn Expo navigation. So I created a blank proj using XDE. Then $npm install react-navigation --save .
then in App.js:
import {StackNavigator, DrawerNavigator, TabNavigator} from ‘react-navigation’;
Save… Then I see Unable to resolve module ‘react-native’
Any tip, please?
Imo
Hey @imo,
This definitely shouldn’t happen. Out of curiosity, what version of npm are you using? If you are using npm5, I would suggest trying to downgrade to npm@4.6.1 or rather use Yarn and see if that resolves the issue.
Cheers,
Adam
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.