Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to resolve module expo-modules-core / TypeError: undefined is not an object #38

Open
AlanDellonSchwartzman opened this issue Feb 19, 2022 · 1 comment

Comments

@AlanDellonSchwartzman
Copy link

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • [y] I am running the latest version
  • [y] I checked the documentation and found no answer
  • [y] I checked to make sure that this issue has not already been filed
  • [y] I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior

Please describe the behavior you are expecting

run expo start --android and the app starts correctly with no errors

Current Behavior

run expo start --android and show the error in finallized build

Unable to resolve module expo-modules-core from /Users/MYNAMES/Desktop/argon-pro-react-native-v1.6.0/node_modules/expo-splash-screen/build/SplashScreen.js: expo-modules-core could not be found within the project.

Failure Information (for bugs)

Unable to resolve module expo-modules-core from /Users/MYNAMES/Desktop/argon-pro-react-native-v1.6.0/node_modules/expo-splash-screen/build/SplashScreen.js: expo-modules-core could not be found within the project.

variant bug:

Unable to start your application. Please refer to https://expo.fyi/no-registered-application for more information.
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:200:6 in runApplication

TypeError: undefined is not an object (evaluating '_expoModulesCore.NativeModulesProxy.ExpoSplashScreen')
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:104:6 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:171:19 in handleException
at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:6 in handleError
at node_modules/expo-error-recovery/build/ErrorRecovery.fx.js:12:21 in ErrorUtils.setGlobalHandler$argument_0

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. clone repo
  2. run yarn
  3. run yarn start --android

Context

  • Device: Emulator Pixel 4 android 10 (Sdk 29)
  • Operating System: Ubuntu 20.04 LTS

Failure Logs

Unable to start your application. Please refer to https://expo.fyi/no-registered-application for more information.
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:200:6 in runApplication

TypeError: undefined is not an object (evaluating '_expoModulesCore.NativeModulesProxy.ExpoSplashScreen')
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:104:6 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:171:19 in handleException
at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:6 in handleError
at node_modules/expo-error-recovery/build/ErrorRecovery.fx.js:12:21 in ErrorUtils.setGlobalHandler$argument_0

@AlanDellonSchwartzman AlanDellonSchwartzman changed the title Unable to resolve module expo-modules-core / TypeError: undefined is not an object (evaluating '_expoModulesCore.NativeModulesProxy.ExpoSplashScreen') Unable to resolve module expo-modules-core / TypeError: undefined is not an object Feb 19, 2022
@AlanDellonSchwartzman
Copy link
Author

the solution is in this PR #39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant