question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I am evaluating the free version with the hopes of buying the paid version. I will need to be able to eject expo so I am trying to do that with the free version

Expected Behavior

After running expo eject the app works

Current Behavior

After running expo eject I get the following error:

The Expo SDK requires Expo to run. It appears the native Expo modules are unavailable and this code is not running on Expo. Visit https://docs.expo.io to learn more about developing an Expo project.

<unknown>
    validate.fx.js:9:10
loadModuleImplementation
    require.js:331:6
<unknown>
    Expo.fx.js:1
loadModuleImplementation
    require.js:331:6
<unknown>
    ExpoLazy.js:464:7
loadModuleImplementation
    require.js:331:6
<unknown>
    App.js:3
loadModuleImplementation
    require.js:331:6
<unknown>
    index.js:2
loadModuleImplementation
    require.js:331:6
guardedLoadModule
    require.js:197:45
global code
    <unknown file>:0

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. expo eject
  2. cd ios
  3. pod install
  4. cd ../
  5. react-native run-ios

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • Device: IOS 11 Simulator
  • Operating System: Mac Mojave

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
davidecantonicommented, Feb 12, 2020

@o-pooja-o Hi! You could find more about this error and ejecting Expo here: https://docs.expo.io/versions/latest/bare/using-expo-client/#avoid-importing-the-expo-package-in-bare . This should help you set up your app the way you wanted ❤️

Alin

Fixes the issues on our side too. Search for expo imported modules and remove them.

2reactions
palingheorghecommented, Feb 12, 2020

@o-pooja-o Hi! You could find more about this error and ejecting Expo here: https://docs.expo.io/versions/latest/bare/using-expo-client/#avoid-importing-the-expo-package-in-bare . This should help you set up your app the way you wanted ❤️

Alin

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ejecting to ExpoKit - Expo Documentation
In this case, Expo allows you to eject your pure-JS project from the Expo iOS/Android clients, providing you with native projects that can...
Read more >
How To Eject From Expo Managed Workflow to Bare? - Pagepro
If you are afraid to eject from Expo Managed Workflow to Bare Workflow, this article will help you a lot. Expo is a...
Read more >
Being free from “expo” in React Native apps - Medium
This article covers a way to develop without expo for people who decided to keep the project according to their own development strategy....
Read more >
3. React Native - Expo Eject - Ejecting Expo app - YouTube
Here you will learn how to eject a React Native Expo app.
Read more >
Is Expo Eject a Good Idea in 2022? - InApps Technology
Before ejecting Expo, let's have a look at the drawbacks that you'd face: Once you eject expo, you can't inject it back. So,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found