ThinkGeek
ThinkGeek

Reputation: 5117

Running ejected project throws "Expo sdk required expo to run"

I created react-native project using create-react-native-app. In this I am importing Permissions module from expo,

import {Permissions} from "expo"; 

Later I realised that expo doesn't fullfill all my requirements (like social sharing etc), so I decided to eject the expo project. I ran following command to do so

"npm run eject"

After detaching, I installed expo as my project dependency to resolve imported Permissions module from expo.

"npm install expo" 

Now when I run "npm run ios", I get this big error in my ios simulator.

enter image description here

Leads here is appreciated.

Thanks!

Upvotes: 8

Views: 4971

Answers (1)

MattyK14
MattyK14

Reputation: 2126

Once you eject you're now using ExpoKit & no longer using the Expo sdk. The docs can be found here, here & here.

Upvotes: 2

Related Questions