Undefined is not an object (evaluating ExponentConstants.linkinguri)

Viewed 1073

Can someone guide me on this issue which shows up once I try using expo in my react native project.

Dependencies:

"expo": "^21.0.2",
"react": "^16.0.0-alpha.12",
"react-native": "^0.48.4",
"react-native-animatable": "^1.2.4",
"react-native-snap-carousel": "^3.3.2",
"react-native-swiper": "^1.5.13",
"react-navigation": "^1.0.0-beta.13"

Error Message Error Message

1 Answers

If I use create-react-native-app to initiate my project, I don't see the issue that you mentioned. But if I use react-native init to create my project, I see the same issue. To fully take advantage of the integration of react native and expo client, do the following:

npm install -g create-react-native-app

create-react-native-app YourProjectName

cd YourProjectName

npm start

Hope that helps.

Related